File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ function webpackConfigFactory({ target }) {
15
15
} ,
16
16
output : {
17
17
path : resolvePath ( appRootDir . get ( ) , './umd' ) ,
18
- filename : target === 'umd' ? `${ libraryName } .js` : `${ libraryName } .min.js` ,
18
+ filename : target === 'umd'
19
+ ? `${ libraryName } .js`
20
+ : `${ libraryName } .min.js` ,
19
21
library : 'ReactAsyncComponent' ,
20
22
libraryTarget : 'umd' ,
21
23
} ,
@@ -63,13 +65,7 @@ function webpackConfigFactory({ target }) {
63
65
{
64
66
test : / \. j s $ / ,
65
67
loader : 'babel-loader' ,
66
- include : [
67
- resolvePath ( appRootDir . get ( ) , './src' ) ,
68
- resolvePath ( appRootDir . get ( ) , './node_modules/p-limit' ) ,
69
- resolvePath ( appRootDir . get ( ) , './node_modules/p-locate' ) ,
70
- resolvePath ( appRootDir . get ( ) , './node_modules/p-map-series' ) ,
71
- resolvePath ( appRootDir . get ( ) , './node_modules/p-reduce' ) ,
72
- ] ,
68
+ include : [ resolvePath ( appRootDir . get ( ) , './src' ) ] ,
73
69
} ,
74
70
] ,
75
71
} ,
You can’t perform that action at this time.
0 commit comments