@@ -76,16 +76,10 @@ export default defineConfig(env => {
build: {
reportCompressedSize: false,
sourcemap: false,
+ assetsInlineLimit: 0,
commonjsOptions: {
ignoreTryCatch: false
}
- },
- chainWebpack: (config: any) => {
- config.module
- .rule('images')
- .use('url-loader')
- .loader('url-loader')
- .tap((options: any) => Object.assign(options, { limit: 100 }))
})