Skip to content

Commit 6f6c12b

Browse files
authored
chore: mod tsconfig to use relative path import (#569)
* chore: mod tsconfig to use relative path import * Create polite-guests-dance.md
1 parent ca0c824 commit 6f6c12b

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

.changeset/polite-guests-dance.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@alauda/ui": patch
3+
---
4+
5+
chore: mod tsconfig to use relative path import

src/date-picker/trigger/trigger.component.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@ import {
1313
} from '@angular/core';
1414
import { Dayjs } from 'dayjs';
1515

16-
import { I18nPipe } from '../../i18n/i18n.pipe';
16+
import { I18nPipe, I18nService } from '../../i18n';
1717
import { IconComponent } from '../../icon/icon.component';
1818
import { InputComponent } from '../../input/input.component';
1919
import { ComponentSize } from '../../internal/types';
2020
import { buildBem } from '../../internal/utils';
2121

22-
import { I18nService } from 'src/i18n';
23-
2422
const bem = buildBem('aui-date-picker-trigger');
2523

2624
@Component({

stories/input/number-input.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ChangeDetectionStrategy, Component } from '@angular/core';
22

3-
import { ComponentSize } from 'src';
3+
import { ComponentSize } from '@alauda/ui';
44

55
@Component({
66
template: `

stories/input/search-input.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ChangeDetectionStrategy, Component } from '@angular/core';
22

3-
import { ComponentSize } from 'src';
3+
import { ComponentSize } from '@alauda/ui';
44

55
@Component({
66
template: `

stories/select/basic.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { NgFor } from '@angular/common';
22
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
33
import { FormsModule } from '@angular/forms';
44

5-
import { SelectModule } from 'src';
5+
import { SelectModule } from '@alauda/ui';
66

77
@Component({
88
standalone: true,

tsconfig.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@
99
],
1010
"exclude": ["dist", "release"],
1111
"compilerOptions": {
12-
"baseUrl": ".",
1312
"paths": {
14-
"@alauda/ui": ["src"]
13+
"@alauda/ui": ["./src"]
1514
},
1615
"strictNullChecks": false
1716
},

0 commit comments

Comments
 (0)