Added raw-loader and updated version

This commit is contained in:
Richard Davey
2018-01-31 20:21:19 +00:00
parent 877096eabf
commit 448133c311
2 changed files with 11 additions and 2 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "phaser3-project-template",
"version": "1.0.3",
"version": "1.0.4",
"description": "A Phaser 3 Project Template",
"main": "src/index.js",
"scripts": {
@@ -23,6 +23,6 @@
"webpack": "^3.4.1"
},
"dependencies": {
"phaser": "^3.0.0-beta.16"
"phaser": "^3.0.0-beta.20"
}
}
+9
View File
@@ -13,6 +13,15 @@ module.exports = {
filename: 'project.bundle.js'
},
module: {
rules: [
{
test: [ /\.vert$/, /\.frag$/ ],
use: 'raw-loader'
}
]
},
plugins: [
new webpack.DefinePlugin({
'CANVAS_RENDERER': JSON.stringify(true),