Comments (15)
可以考虑发个1.13.5来覆盖?这样就保证不会出现问题了
from babel-plugin-import.
@sorrycc 之前在用gulp打包的时候,有.babelrc之类的文件,打包的时候对于babel插件的参数,遇到过configFile参数会造成出现这种绝对路径的问题。可以检查下是否是这个原因。
from babel-plugin-import.
cnpm 也是 1.13.3。
$ cnpm i babel-plugin-import
✔ Installed 1 packages
✔ Linked 7 latest versions
✔ Run 0 scripts
✔ All packages installed (7 packages installed from npm registry, used 290ms(network 289ms), speed 193.64KB/s, json 7(55.96KB), tarball 0B)
$ cat node_modules/babel-plugin-import/package.json
{
"name": "babel-plugin-import",
"version": "1.13.3",
from babel-plugin-import.
https://github.com/umijs/babel-plugin-import/releases/tag/v1.13.5
- 1.13.5
from babel-plugin-import.
错误版本是通过npm-check-updates获取的版本号
from babel-plugin-import.
cnpm 有办法规避么(刚试了好像cnpm还是有问题)?
是不是再发个没问题的1.13.5版本更好呢?谢谢。
from babel-plugin-import.
很多项目可能不会粗暴的直接 ^1,或者直接1.x。
也许是大家工作比较积极,刚好在你发布以后就遇到了,就及时反馈了^-^
比如我就是用的~1.13.3,刚好中午就遇到了1.13.4的问题,然后自己锁定了1.13.3。后面你修改以后应该就好了。
from babel-plugin-import.
@wufeng87 一般cnpm的更新可能不会那么及时
from babel-plugin-import.
@zhangyuang 打包脚本的 bug 还没时间排查,需要看下为啥会出现本地路径。
from babel-plugin-import.
在 yarn v1.x 没有问题 安装的是 1.13.3
但在 yarn v3.2 安装的 1.13.4
from babel-plugin-import.
大佬简单粗暴了,近期项目 全部构建失败了。
from babel-plugin-import.
兄弟们,锁1.12.0版本就可以了
from babel-plugin-import.
@mizi-lin 这是有本地的缓存吧。
from babel-plugin-import.
@mizi-lin 这是有本地的缓存吧。
特意清了缓存 测试的·
from babel-plugin-import.
@mizi-lin 全局缓存也清了?
from babel-plugin-import.
Related Issues (20)
- 编译报错了啊,哥哥 HOT 1
- [email protected]版本bug HOT 1
- AssignmentPattern 的情况是否应该考虑一下?
- HELP!!! how i can use this in rollup!!!
- 使用yalc开发组件库,工程不能随时更新
- When using the plugin, I got warnings on Netlify about "Conflicting order. Following module has been added:"
- add LICENSE.md
- 只想要import样式文件,能不能不要帮我处理js文件? HOT 1
- 是我配置的姿势不对吗,毛用都没有 HOT 1
- unable to resolve dependency tree
- babel-plugin-import 对 ts语法 ( Com as any ) 和 带装饰器的 class extends Com 支持有问题 HOT 1
- babel-plugin-import与babel-plugin-istanbul冲突
- plugin 中 第三个参数作用
- 不知道为什么打包后会有引入node_modules/antd/es/index.js的代码 HOT 1
- 局部变量和 import 重名 插件转换有问题
- ImportDeclaration(path, state){} 监听 可以会比 CallExpression(path, state) {} 监听 后执行。
- 使用了thread-loader后,customName配置项失效
- 1.13.7 驼峰转换有问题,导致构建报错找不到组件 HOT 1
- 命名转换方法导致其他组件报错的问题。 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from babel-plugin-import.