From 3bf12e4ff5cb3d6eead99a4528f0affae51e7810 Mon Sep 17 00:00:00 2001 From: PedroD Date: Mon, 25 Jun 2018 12:45:47 +0100 Subject: [PATCH] Fixing wrong /public path, relative to the webpack.dev script, that would avoid webpack from cleaning previous builds. (#12351) --- scripts/webpack/webpack.dev.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/webpack/webpack.dev.js b/scripts/webpack/webpack.dev.js index 7e43e8179ac..22df4fa3adf 100644 --- a/scripts/webpack/webpack.dev.js +++ b/scripts/webpack/webpack.dev.js @@ -65,7 +65,7 @@ module.exports = merge(common, { }, plugins: [ - new CleanWebpackPlugin('../public/build', { allowExternal: true }), + new CleanWebpackPlugin('../../public/build', { allowExternal: true }), extractSass, new HtmlWebpackPlugin({ filename: path.resolve(__dirname, '../../public/views/index.html'),