Skip to content

Commit 8d1ad1c

Browse files
committed
Fix prod build
1 parent 0a8052b commit 8d1ad1c

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "phaser3-typescript-boilerplate",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

webpack-dist.config.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ module.exports = {
2323
path: DIST_DIR,
2424
},
2525
plugins: [
26-
new CopyPlugin([
27-
{from: 'src/index.html', to: DIST_DIR},
28-
{from: 'assets', to: DIST_DIR + '/assets'},
29-
]),
26+
new CopyPlugin({
27+
patterns: [
28+
{from: 'src/index.html', to: DIST_DIR},
29+
{from: 'assets', to: DIST_DIR + '/assets'},
30+
],
31+
}),
3032
],
3133
};

0 commit comments

Comments
 (0)