File tree 2 files changed +12
-7
lines changed
2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
+ "ignore" : [
3
+ " **/tests/**"
4
+ ],
2
5
"presets" : [
3
6
[
4
7
" @babel/env" ,
10
13
}
11
14
}
12
15
],
13
- " @babel/react" ,
14
- // ["env", {"modules": true}],
15
- // "react"
16
+ " @babel/react"
16
17
],
17
18
"plugins" : [
18
19
" @babel/plugin-proposal-export-default-from" ,
38
39
"plugins" : [[" @babel/plugin-transform-runtime" , { "useESModules" : true }]]
39
40
},
40
41
"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
+ ]
44
49
}
45
50
}
46
51
}
Original file line number Diff line number Diff line change 35
35
"changelog" : " auto-changelog --starting-version 3.0.0-rc.2 --commit-limit false --hide-credit" ,
36
36
"build" : " npm run build:lib && npm run build:esm" ,
37
37
"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 " ,
39
39
"postinstall" : " node npm-postinstall" ,
40
40
"storybook" : " start-storybook" ,
41
41
"jest:test" : " cross-env BABEL_ENV=test jest" ,
You can’t perform that action at this time.
0 commit comments