web: fix Vite config tsconfig includes (#5450)

This commit is contained in:
fatedier
2026-07-27 19:21:28 +08:00
committed by GitHub
parent de4b483710
commit 2175557d48
4 changed files with 2 additions and 12 deletions

View File

@@ -28,15 +28,10 @@ export default defineConfig({
'@shared': fileURLToPath(new URL('../shared', import.meta.url)),
},
dedupe: ['vue', 'element-plus', '@element-plus/icons-vue'],
modules: [
fileURLToPath(new URL('../node_modules', import.meta.url)),
'node_modules',
],
},
css: {
preprocessorOptions: {
scss: {
api: 'modern',
additionalData: `@use "@shared/css/_index.scss" as *;`,
},
},