diff --git a/vite.config.js b/vite.config.js index 9fb8f66..6f2d032 100644 --- a/vite.config.js +++ b/vite.config.js @@ -42,6 +42,11 @@ function replaceManifestAppid() { export default defineConfig({ plugins: [replaceManifestAppid(), uni()], + resolve: { + alias: { + '@': '/src', + }, + }, build: { minify: 'terser', terserOptions: {