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
+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),