File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ function webpackConfigFactory({ target }) {
1515 } ,
1616 output : {
1717 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` ,
1921 library : 'ReactAsyncComponent' ,
2022 libraryTarget : 'umd' ,
2123 } ,
@@ -63,13 +65,7 @@ function webpackConfigFactory({ target }) {
6365 {
6466 test : / \. j s $ / ,
6567 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' ) ] ,
7369 } ,
7470 ] ,
7571 } ,
You can’t perform that action at this time.
0 commit comments