use prod mode, remove module bundle
This commit is contained in:
parent
cbfcc2b265
commit
e0fa774b5c
2
makefile
2
makefile
@ -1,5 +1,5 @@
|
||||
build:
|
||||
npx webpack --mode development
|
||||
npx webpack --mode production
|
||||
|
||||
dev-server:
|
||||
python -m http.server --directory dist/ 8700
|
||||
|
@ -3,7 +3,6 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
module: path.resolve(__dirname, 'src', 'module.js'),
|
||||
index: path.resolve(__dirname, 'src', 'index.js'),
|
||||
},
|
||||
plugins: [
|
||||
|
Loading…
Reference in New Issue
Block a user