babel-plugin-import icon indicating copy to clipboard operation
babel-plugin-import copied to clipboard

Modularly import plugin for babel.

Results 111 babel-plugin-import issues
Sort by recently updated
recently updated
newest added

比如有些组件就是纯逻辑的组件,没有写style,那么这个时候就会报错提示Module not found

I use `babel-plugin-import` together with `@babel/preset-typescript` and ran into bug that babel doesn't include named import of the lodash `noop` function if the `noop` function is used as any. I...

node版本:8.1.1 "babel-plugin-import": "^1.6.2", 最近删除依赖重新拉取之后,报以下错误 return {...pluginState.selectedMethods[methodName]}; ^^^ SyntaxError: Unexpected token ... 请教一下如何解决

举例: export {Button, Table} from 'antd'; 这样使用的话,按需加载就无效了,antd全部引入,并且样式文件会丢失。

Hello! I can't seem to find any documentation on what the `libraryDirectory` option actually refers to. What directory should it point to and why? Thanks

babel-plugin-import": "^1.11.0" ![image](https://user-images.githubusercontent.com/5137237/48774918-76971680-ed06-11e8-9a4e-ff540de4c4d9.png)

这是我的 .babelrc 配置 入口加载的是 dist/antd.less 使用方式为 组件按需加载 ``` ["import", { "libraryName": "antd", "style": true // or 'css' } ] ``` babel v7.x webpack v4.x

Hi friends, I am working with create-react-app and I am setting less for antd but it is not working for me. ``` "babel-plugin-import": "^1.13.0" "antd": "^4.15.3" ``` thanks, if you...

Bumps [husky](https://github.com/typicode/husky) from 4.3.8 to 5.1.3. Release notes Sourced from husky's releases. v5.1.3 docs: add specific Yarn v2 install/uninstall instructions cli: husky init will detect Yarn v2 and initialize accordingly...

dependencies

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.15.0 to 8.1.0. Changelog Sourced from eslint-config-prettier's changelog. Version 8.1.0 (2021-02-24) Added: [flowtype/object-type-curly-spacing]. Added: Dummy files for the configs removed in 8.0.0. The dummy files throw an...

dependencies