提交 706025ef 编写于 作者: fxy060608's avatar fxy060608

fix(cli): svg loader

上级 a721a25f
......@@ -19,8 +19,8 @@ module.exports = function chainWebpack (platformOptions, vueOptions, api) {
} = require('@dcloudio/uni-cli-shared')
return function (webpackConfig) {
// 处理静态资源 limit
const staticTypes = ['images', 'svg', 'media', 'fonts']
// 处理静态资源 limit
const staticTypes = ['images', 'media', 'fonts']
staticTypes.forEach(staticType => {
webpackConfig.module
.rule(staticType)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册