Fixing wrong /public path, relative to the webpack.dev script, that would avoid webpack from cleaning previous builds. (#12351)

This commit is contained in:
PedroD
2018-06-25 12:45:47 +01:00
committed by Torkel Ödegaard
parent 7797a66b58
commit 3bf12e4ff5

View File

@ -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'),