Updated for Beta 4 + added renderer flags.

This commit is contained in:
photonstorm
2017-09-25 15:28:18 +01:00
parent 04f4219ac0
commit 4fd882c02a
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "phaser3-project-template",
"version": "1.0.0",
"version": "1.0.1",
"description": "A Phaser 3 Project Template",
"main": "src/index.js",
"scripts": {
@@ -20,7 +20,7 @@
"homepage": "https://github.com/photonstorm/phaser3-project-template#readme",
"devDependencies": {
"live-server": "^1.2.0",
"phaser": "^3.0.0-beta.1",
"phaser": "^3.0.0-beta.4",
"webpack": "^3.4.1"
}
}
+4
View File
@@ -13,6 +13,10 @@ module.exports = {
},
plugins: [
new webpack.DefinePlugin({
'CANVAS_RENDERER': JSON.stringify(true),
'WEBGL_RENDERER': JSON.stringify(true)
})
]
};