From 809a5efb9db4284b0124c75fbaec34d3dd22e7bc Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 20 Aug 2019 02:50:27 +0400 Subject: Fixed build system Signed-off-by: Valentin Popov --- test/application/webpack.config.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/application/webpack.config.js') diff --git a/test/application/webpack.config.js b/test/application/webpack.config.js index a4c686b..c1d23e8 100644 --- a/test/application/webpack.config.js +++ b/test/application/webpack.config.js @@ -1,3 +1,4 @@ +const { CleanWebpackPlugin } = require('clean-webpack-plugin') const HtmlWebpackPlugin = require('html-webpack-plugin') const path = require('path') @@ -12,6 +13,9 @@ const mainConfig = { path: path.resolve(__dirname, 'dist'), filename: '[name].js' }, + plugins: [ + new CleanWebpackPlugin() + ], module: { rules: [{ test: /\.js$/, -- cgit v1.2.3