fix: dashboard intl settings

This commit is contained in:
jialin
2024-06-30 13:49:44 +08:00
parent 9f4f28edaf
commit aa160da9f9
23 changed files with 270 additions and 202 deletions
+6 -17
View File
@@ -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
}
}
}
: {}),