Don't clean gitignore

This commit is contained in:
Bartek Fabiszewski 2019-12-30 14:01:27 +01:00
parent 43cb8a11fe
commit 666410b653

View File

@ -8,7 +8,11 @@ module.exports = {
path: path.resolve(__dirname, 'js/dist'), path: path.resolve(__dirname, 'js/dist'),
publicPath: 'js/dist/' publicPath: 'js/dist/'
}, },
plugins: [ new CleanWebpackPlugin() ], plugins: [
new CleanWebpackPlugin({
cleanOnceBeforeBuildPatterns: [ '**/*', '!.*' ]
})
],
optimization: { optimization: {
splitChunks: { splitChunks: {
cacheGroups: { cacheGroups: {