You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
468 B
23 lines
468 B
import { defineConfig } from 'vite' |
|
import path from 'path' |
|
import vue from '@vitejs/plugin-vue' |
|
import vueJsx from '@vitejs/plugin-vue-jsx' |
|
|
|
export default defineConfig({ |
|
resolve: { |
|
alias: { |
|
'@': path.resolve(__dirname, 'src'), |
|
}, |
|
}, |
|
plugins: [vue(), vueJsx()], |
|
define: { |
|
'process.env': { ...process.env }, |
|
}, |
|
build: { |
|
minify: true, |
|
commonjsOptions: { |
|
transformMixedEsModules: true, |
|
}, |
|
cssCodeSplit: false, |
|
}, |
|
})
|
|
|