From 0daeee161e61bc0ab5a376f7406b607aa53e9a33 Mon Sep 17 00:00:00 2001 From: NikolaBorislavovHristov Date: Fri, 2 Aug 2019 15:30:08 +0300 Subject: [PATCH] using default js bundle name --- src/index.html | 2 +- webpack.config.js | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/index.html b/src/index.html index 558ce899b..e5aefd387 100755 --- a/src/index.html +++ b/src/index.html @@ -13,7 +13,7 @@
diff --git a/webpack.config.js b/webpack.config.js index 333475e98..791f0bf71 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -9,9 +9,6 @@ const { getLocalIdent } = require('css-loader/dist/utils'); module.exports = { entry: './src/index.js', - output: { - filename: 'bundle.js' - }, module: { rules: [ { @@ -155,7 +152,7 @@ module.exports = { new CleanWebpackPlugin({ verbose: true, cleanOnceBeforeBuildPatterns: [], - cleanAfterEveryBuildPatterns: ['./bundle.js', './styles.css'] + cleanAfterEveryBuildPatterns: ['./main.js', './styles.css'] }) ] };