Skip to content

Commit

Permalink
Fix prod build
Browse files Browse the repository at this point in the history
  • Loading branch information
cloakedninjas committed May 17, 2020
1 parent 0a8052b commit 8d1ad1c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "phaser3-typescript-boilerplate",
"version": "1.0.2",
"version": "1.0.3",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
10 changes: 6 additions & 4 deletions webpack-dist.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'},
],
}),
],
};

0 comments on commit 8d1ad1c

Please sign in to comment.