remove image-webpack-loader

This commit is contained in:
Caleb Taylor
2019-01-08 14:34:34 -08:00
parent d0a0d29a3e
commit 2b7ef67edd
2 changed files with 2 additions and 11 deletions
+1 -2
View File
@@ -4,7 +4,7 @@
"description": "A Phaser 3 Project Template", "description": "A Phaser 3 Project Template",
"main": "src/index.js", "main": "src/index.js",
"scripts": { "scripts": {
"build": "webpack --config webpack/prod.js", "build": "webpack --config webpack/prod.js ",
"start": "webpack-dev-server --config webpack/base.js --open" "start": "webpack-dev-server --config webpack/base.js --open"
}, },
"repository": { "repository": {
@@ -25,7 +25,6 @@
"clean-webpack-plugin": "^1.0.0", "clean-webpack-plugin": "^1.0.0",
"file-loader": "^3.0.1", "file-loader": "^3.0.1",
"html-webpack-plugin": "^3.2.0", "html-webpack-plugin": "^3.2.0",
"image-webpack-loader": "^4.6.0",
"raw-loader": "^1.0.0", "raw-loader": "^1.0.0",
"terser-webpack-plugin": "^1.2.1", "terser-webpack-plugin": "^1.2.1",
"webpack": "^4.28.3", "webpack": "^4.28.3",
+1 -9
View File
@@ -21,15 +21,7 @@ module.exports = {
}, },
{ {
test: /\.(gif|png|jpe?g|svg|xml)$/i, test: /\.(gif|png|jpe?g|svg|xml)$/i,
use: [ use: "file-loader"
"file-loader",
{
loader: "image-webpack-loader",
options: {
bypassOnDebug: true
}
}
]
} }
] ]
}, },