Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: mod tsconfig to use relative path import #569

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

yangxiaolang
Copy link
Collaborator

之前的 "baseUrl" : "." 会让编辑器自动导入其他模块时首选绝对路径,导致 build 产物在被其他项目依赖时 Error: Module not found: Error: Can't resolve 'src/i18n' in '/home/mrlang/Workspace/alauda/alauda-fe/node_modules/@alauda/ui/fesm2022'
修改后 src/i18n 此类路径将不可用, 编辑器会首选相对路径, storybook 导入组件模块时使用 @alauda/ui

Copy link

changeset-bot bot commented Jun 25, 2024

🦋 Changeset detected

Latest commit: d2ae75e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@alauda/ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@yangxiaolang yangxiaolang merged commit 6f6c12b into master Jun 26, 2024
8 checks passed
@yangxiaolang yangxiaolang deleted the chore/mod-tsconfig-to-change-import-path-style branch June 26, 2024 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants