CopyWebpackPlugin doesn't need dot before [ext] anymore

This commit is contained in:
Bartek Fabiszewski 2021-08-31 14:54:26 +02:00
parent f641b68e14
commit 6bd4aceaf7

View File

@ -27,9 +27,9 @@ module.exports = {
}), }),
new CopyWebpackPlugin({ new CopyWebpackPlugin({
patterns: [ patterns: [
{ from: 'css/src/*.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/ol/ol.css', to: `${cssDist}/[name][ext]`, transform: cssTransform },
{ from: 'node_modules/chartist/dist/chartist.css', to: `${cssDist}/[name].[ext]`, transform: cssTransform } { from: 'node_modules/chartist/dist/chartist.css', to: `${cssDist}/[name][ext]`, transform: cssTransform }
] ]
}) })
], ],