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

添加自定义包名的功能 #641

Open
jorschac opened this issue Oct 20, 2024 · 0 comments
Open

添加自定义包名的功能 #641

jorschac opened this issue Oct 20, 2024 · 0 comments

Comments

@jorschac
Copy link

为这个插件添加自定义包名的功能,可以通过配置alias字段自定义导入源的名称。
使用场景:小团队或个人自己开发npm包并在团队内部的项目中引入使用时,可以通过自定义包名的方式缩减引入源名称的长度,降低接入成本。

PR:#640

知道你们没人维护这个仓库了,所以我自己发包了,具体更改内容和配置详情可以看我自己的仓库:
https://github.com/jorschac/babel-plugin-custom-import

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

No branches or pull requests

1 participant