Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

[BUG]配置babel-plugin-import不会将使用的库打包进去 #1094

Closed
mushan0x0 opened this issue Jun 17, 2020 · 3 comments · Fixed by #1097
Closed

[BUG]配置babel-plugin-import不会将使用的库打包进去 #1094

mushan0x0 opened this issue Jun 17, 2020 · 3 comments · Fixed by #1097
Labels
bug Something isn't working

Comments

@mushan0x0
Copy link
Contributor

mushan0x0 commented Jun 17, 2020

bug 描述
配置了babel-plugin-import插件后使用一个库,编译的dist里的文件并没有包含那个库的import

复现步骤
https://github.com/mushan0x0/remex-issue-import/blob/master/src/pages/index/index.tsx#L10

复现代码
https://github.com/mushan0x0/remex-issue-import

版本信息:

  • remax 版本: 2.5.0
@mushan0x0 mushan0x0 added the bug Something isn't working label Jun 17, 2020
@yesmeck
Copy link
Member

yesmeck commented Jun 18, 2020

看起来是 babel-plugin-import 的 bug。

@yesmeck
Copy link
Member

yesmeck commented Jun 18, 2020

是我们的问题

@yesmeck
Copy link
Member

yesmeck commented Jun 18, 2020

2.5.4 修复了

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants