import { defineConfig } from 'vite'; export default defineConfig({ mode: 'production', resolve: { alias: [ { find: 'vue', replacement: 'vue/dist/vue.esm-bundler.js', // 需要编译tmp }, ], }, });