diff --git a/package.json b/package.json index 2d41acd..3d7c4d2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "phaser3-typescript-boilerplate", - "version": "1.0.2", + "version": "1.0.3", "description": "", "main": "index.js", "scripts": { diff --git a/webpack-dist.config.js b/webpack-dist.config.js index 399597e..203fe90 100644 --- a/webpack-dist.config.js +++ b/webpack-dist.config.js @@ -23,9 +23,11 @@ module.exports = { path: DIST_DIR, }, plugins: [ - new CopyPlugin([ - {from: 'src/index.html', to: DIST_DIR}, - {from: 'assets', to: DIST_DIR + '/assets'}, - ]), + new CopyPlugin({ + patterns: [ + {from: 'src/index.html', to: DIST_DIR}, + {from: 'assets', to: DIST_DIR + '/assets'}, + ], + }), ], };