Closed ivanbacher closed 4 years ago
When updating CopyWebpackPlugin v > 6.0.0 the following code as the be changed in webpack.config
CopyWebpackPlugin
FROM
...when(!tests, new CopyWebpackPlugin([ { from: 'static', to: outDir, ignore: ['.*'] }])), // ignore dot (hidden) files
TO
..when(!tests, new CopyWebpackPlugin({ patterns: [ { from: 'static', to: outDir, globOptions: { ignore: ['.*'] } } ] }))
When updating
CopyWebpackPlugin
v > 6.0.0 the following code as the be changed in webpack.configFROM
TO