File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -4,17 +4,20 @@ const CopyPlugin = require("copy-webpack-plugin");
44const mf_config = require ( "@patternslib/dev/webpack/webpack.mf" ) ;
55const package_json = require ( "../package.json" ) ;
66const path = require ( "path" ) ;
7- const patternslib_config = require ( "@patternslib/dev/webpack/webpack.config" ) ;
7+ const webpack_config = require ( "@patternslib/dev/webpack/webpack.config" ) . config ;
88
9- module . exports = ( env , argv ) => {
9+ module . exports = ( ) => {
1010 let config = {
1111 entry : {
1212 "bundle.min" : path . resolve ( __dirname , "../src/index.js" ) ,
1313 "bundle-polyfills.min" : path . resolve ( __dirname , "../src/polyfills.js" ) ,
1414 } ,
1515 } ;
1616
17- config = patternslib_config ( env , argv , config ) ;
17+ config = webpack_config ( {
18+ config : config ,
19+ package_json : package_json ,
20+ } ) ;
1821
1922 config . output . path = path . resolve ( __dirname , "../dist/" ) ;
2023
You can’t perform that action at this time.
0 commit comments