File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 11{
2+ "ignore" : [
3+ " **/tests/**"
4+ ],
25 "presets" : [
36 [
47 " @babel/env" ,
1013 }
1114 }
1215 ],
13- " @babel/react" ,
14- // ["env", {"modules": true}],
15- // "react"
16+ " @babel/react"
1617 ],
1718 "plugins" : [
1819 " @babel/plugin-proposal-export-default-from" ,
3839 "plugins" : [[" @babel/plugin-transform-runtime" , { "useESModules" : true }]]
3940 },
4041 "test" : {
41- "presets" : [
42- " @babel/env" , " @babel/preset-react"
43- ]
42+ "presets" : [
43+ " @babel/env" , " @babel/preset-react"
44+ ],
45+ "plugins" : [
46+ " babel-plugin-dynamic-import-node" ,
47+ // 'babel-plugin-transform-dynamic-import'
48+ ]
4449 }
4550 }
4651}
Original file line number Diff line number Diff line change 3535 "changelog" : " auto-changelog --starting-version 3.0.0-rc.2 --commit-limit false --hide-credit" ,
3636 "build" : " npm run build:lib && npm run build:esm" ,
3737 "build:lib" : " rollup --environment BUNDLE:false --c --sourcemap" ,
38- "build:esm" : " cross-env BABEL_ENV=esm-dir babel src --out-dir es --copy-files" ,
38+ "build:esm" : " cross-env BABEL_ENV=esm-dir babel src --out-dir es --copy-files --no-copy-ignored " ,
3939 "postinstall" : " node npm-postinstall" ,
4040 "storybook" : " start-storybook" ,
4141 "jest:test" : " cross-env BABEL_ENV=test jest" ,
You can’t perform that action at this time.
0 commit comments