update CopyPlugin usage
This commit is contained in:
parent
fcd5f4688b
commit
55bda51030
@ -116,7 +116,7 @@ const productionPlugins = [
|
||||
|
||||
let plugins = (env, argv) => [
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
new CopyPlugin([{ from: 'data', to: 'data' }, { from: 'wand.js', to: 'wand.js' }]),
|
||||
new CopyPlugin({ patterns: [{ from: 'data', to: 'data' }, { from: 'wand.js', to: 'wand.js' }] }),
|
||||
new HtmlWebpackPlugin({
|
||||
hash: true,
|
||||
inject: true,
|
||||
|
Loading…
Reference in New Issue
Block a user