init
This commit is contained in:
@@ -22,14 +22,17 @@ module.exports = {
|
|||||||
.use('image-webpack-loader')
|
.use('image-webpack-loader')
|
||||||
.loader('image-webpack-loader')
|
.loader('image-webpack-loader')
|
||||||
.options({
|
.options({
|
||||||
bypassOnDebug: true
|
bypassOnDebug: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
config.module.rule('images').use('url-loader').loader('url-loader').options(
|
config.module.rule('images').use('url-loader').loader('url-loader').options({
|
||||||
{ limit:2,esModule:false}
|
limit: 2,
|
||||||
)
|
esModule: false,
|
||||||
|
outputPath: "img/"
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user