diff --git a/vite.config.js b/vite.config.js index efdb7be..2f732b7 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: {