refactor: cast包替换

This commit is contained in:
meilin.huang
2025-06-27 12:17:45 +08:00
parent 54d3a5b368
commit f7480f3bac
60 changed files with 91 additions and 94 deletions

View File

@@ -77,9 +77,6 @@ const viteConfig: UserConfig = {
},
},
},
esbuild: {
drop: isProd ? ['console', 'debugger'] : [],
},
define: {
__VUE_I18N_LEGACY_API__: JSON.stringify(false),
__VUE_I18N_FULL_INSTALL__: JSON.stringify(false),
@@ -100,11 +97,6 @@ const viteConfig: UserConfig = {
},
],
},
preprocessorOptions: {
scss: {
api: 'modern-compiler', // or 'modern'
},
},
},
};