From 6bd4aceaf7434d37da15d62e9310c914192d1238 Mon Sep 17 00:00:00 2001 From: Bartek Fabiszewski Date: Tue, 31 Aug 2021 14:54:26 +0200 Subject: [PATCH] CopyWebpackPlugin doesn't need dot before [ext] anymore --- webpack.common.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webpack.common.js b/webpack.common.js index f2f7869..12dcd72 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -27,9 +27,9 @@ module.exports = { }), new CopyWebpackPlugin({ patterns: [ - { from: 'css/src/*.css', to: `${cssDist}/[name].[ext]`, transform: cssTransform }, - { from: 'node_modules/ol/ol.css', to: `${cssDist}/[name].[ext]`, transform: cssTransform }, - { from: 'node_modules/chartist/dist/chartist.css', to: `${cssDist}/[name].[ext]`, transform: cssTransform } + { from: 'css/src/*.css', to: `${cssDist}/[name][ext]`, transform: cssTransform }, + { from: 'node_modules/ol/ol.css', to: `${cssDist}/[name][ext]`, transform: cssTransform }, + { from: 'node_modules/chartist/dist/chartist.css', to: `${cssDist}/[name][ext]`, transform: cssTransform } ] }) ],