use prod mode, remove module bundle

This commit is contained in:
Michael Peters 2023-01-09 15:20:36 -08:00
parent cbfcc2b265
commit e0fa774b5c
2 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,5 @@
build:
npx webpack --mode development
npx webpack --mode production
dev-server:
python -m http.server --directory dist/ 8700

View File

@ -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: [