chore: hash type route

This commit is contained in:
jialin
2024-06-21 00:15:57 +08:00
parent b523076a5d
commit a03a95a3bc
+3 -5
View File
@@ -11,6 +11,9 @@ export default defineConfig({
proxy: {
...proxy()
},
history: {
type: 'hash'
},
base: process.env.npm_config_base || '/',
...(isProduction
? {
@@ -19,11 +22,6 @@ export default defineConfig({
src: `/js/umi.${t}.js`
}
],
// cssLoader: {
// modules: {
// localIdentName: 'css/[name]__[local]___[hash:base64:5]'
// }
// },
chainWebpack(config: any) {
config.plugin('mini-css-extract-plugin').tap((args: any) => [
{