File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,19 +3,19 @@ const HtmlWebpackPlugin = require('html-webpack-plugin')
33
44// module.exports = [{
55module . exports = ( env , args ) => {
6- const production = args . mode === 'production' ;
6+ const production = args . mode === 'production'
77 return {
8- // mode: 'development',
98 mode : args . mode || 'development' ,
109 entry : './lib/index.js' ,
1110 output : {
1211 path : path . join ( __dirname , '/dist/' ) ,
12+ publicPath : '' ,
1313 filename : production ? 'solid-ui.min.js' : 'solid-ui.js' ,
1414 library : 'solid-ui' ,
1515 libraryTarget : 'umd'
1616 } ,
1717 plugins : [
18- new HtmlWebpackPlugin ( ) // plugin that creats in /lib the index.html that contains the webpack-bundle.js
18+ new HtmlWebpackPlugin ( ) // plugin that creates in /lib the index.html that contains the webpack-bundle.js
1919 ] ,
2020 externals : {
2121 fs : 'null' ,
You can’t perform that action at this time.
0 commit comments