From e0fa774b5c388a369247618ffc9cc1b060bdbaed Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Mon, 9 Jan 2023 15:20:36 -0800 Subject: [PATCH] use prod mode, remove module bundle --- makefile | 2 +- webpack.config.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/makefile b/makefile index 5f455cd..f6dd705 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,5 @@ build: - npx webpack --mode development + npx webpack --mode production dev-server: python -m http.server --directory dist/ 8700 diff --git a/webpack.config.js b/webpack.config.js index 642b65c..c87afa3 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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: [