mirror of
https://github.com/cruip/vuejs-admin-dashboard-template.git
synced 2025-12-19 17:02:23 +08:00
16 lines
286 B
JavaScript
16 lines
286 B
JavaScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
define: {
|
|
'process.env': process.env
|
|
},
|
|
plugins: [vue()],
|
|
build: {
|
|
commonjsOptions: {
|
|
transformMixedEsModules: true,
|
|
}
|
|
}
|
|
})
|