Updated for Beta 4 + added renderer flags.
This commit is contained in:
+2
-2
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,6 +13,10 @@ module.exports = {
|
||||
},
|
||||
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
'CANVAS_RENDERER': JSON.stringify(true),
|
||||
'WEBGL_RENDERER': JSON.stringify(true)
|
||||
})
|
||||
]
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user