From efcd2554b880f8a8324ccbde1e7b7b511d365440 Mon Sep 17 00:00:00 2001 From: dalmo3 <33860060+dalmo3@users.noreply.github.com> Date: Fri, 31 Jan 2020 18:07:06 +1300 Subject: [PATCH] fixes issue #4 (#5) Fix autobuild. #4 --- webpack.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index c9714405..02c53b05 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -74,7 +74,9 @@ module.exports = { to: path.join(distRootPath, 'manifest.json'), toType: 'file', } - ]), + ],{ + copyUnmodified: true // resolve conflict with `CleanWebpackPlugin` + }), new webpack.DefinePlugin({ 'NODE_ENV': JSON.stringify(nodeEnv), 'WEB_BROWSER': JSON.stringify(webBrowser),