Commit 38937754 authored by SQL_Mou's avatar SQL_Mou
parent 8f8316a8
...@@ -63,8 +63,17 @@ module.exports = { ...@@ -63,8 +63,17 @@ module.exports = {
configureWebpack: {}, configureWebpack: {},
// 对内部的 webpack 配置(比如修改、增加Loader选项)(链式操作) // 对内部的 webpack 配置(比如修改、增加Loader选项)(链式操作)
chainWebpack: () =>{ chainWebpack: config =>{
config.module
.rule('swf')
.test(/\.swf$/)
.use('url-loader')
.loader('url-loader')
.tap(options => {
return {
limit: 10000
}
})
}, },
// css的处理 // css的处理
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment