fix: dashboard intl settings
This commit is contained in:
+6
-17
@@ -44,23 +44,12 @@ export default defineConfig({
|
||||
minRatio: 0.8
|
||||
}
|
||||
]);
|
||||
// config.module
|
||||
// .rule('images')
|
||||
// .test(/\.(png|jpe?g|gif|svg|ico)(\?.*)?$/)
|
||||
// .use('url-loader')
|
||||
// .loader(require.resolve('url-loader'))
|
||||
// .tap((options: any) => {
|
||||
// return {
|
||||
// ...options,
|
||||
// limit: 8192, // 小于8KB的图片会被转为base64
|
||||
// fallback: {
|
||||
// loader: require.resolve('file-loader'),
|
||||
// options: {
|
||||
// name: 'static/[name].[hash:8].[ext]' // 将所有图片输出到 static 目录
|
||||
// }
|
||||
// }
|
||||
// };
|
||||
// });
|
||||
},
|
||||
terserOptions: {
|
||||
compress: {
|
||||
drop_console: true,
|
||||
drop_debugger: true
|
||||
}
|
||||
}
|
||||
}
|
||||
: {}),
|
||||
|
||||
Reference in New Issue
Block a user