chore(web): resolve source alias from ESM config

This commit is contained in:
Maofeng
2026-09-21 16:18:33 +08:00
parent 3e671cce47
commit b26c8886cf
+1 -1
View File
@@ -12,7 +12,7 @@ export default defineConfig({
resolve: { resolve: {
tsconfigPaths: true, tsconfigPaths: true,
alias: { alias: {
"@": path.resolve(__dirname, "./src"), "@": path.resolve(import.meta.dirname, "./src"),
}, },
}, },
plugins: [ plugins: [