mirror of
https://gitee.com/chu1204505056/vue-admin-beautiful.git
synced 2025-04-27 03:16:33 +08:00
✅add image-webpack-loader
This commit is contained in:
parent
fee0775a0d
commit
6b0069f623
@ -40,6 +40,7 @@
|
|||||||
"eslint-plugin-prettier": "^3.1.4",
|
"eslint-plugin-prettier": "^3.1.4",
|
||||||
"eslint-plugin-vue": "^7.1.0",
|
"eslint-plugin-vue": "^7.1.0",
|
||||||
"filemanager-webpack-plugin": "^3.0.0-alpha.4",
|
"filemanager-webpack-plugin": "^3.0.0-alpha.4",
|
||||||
|
"image-webpack-loader": "^7.0.1",
|
||||||
"less": "^3.13.1-alpha.1",
|
"less": "^3.13.1-alpha.1",
|
||||||
"less-loader": "^7.0.2",
|
"less-loader": "^7.0.2",
|
||||||
"lint-staged": "^10.5.0",
|
"lint-staged": "^10.5.0",
|
||||||
|
@ -140,6 +140,14 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
])
|
])
|
||||||
.end()
|
.end()
|
||||||
|
config.module
|
||||||
|
.rule('images')
|
||||||
|
.use('image-webpack-loader')
|
||||||
|
.loader('image-webpack-loader')
|
||||||
|
.options({
|
||||||
|
bypassOnDebug: true,
|
||||||
|
})
|
||||||
|
.end()
|
||||||
})
|
})
|
||||||
|
|
||||||
if (build7z) {
|
if (build7z) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user