Skip to content

Commit

Permalink
!56 update vite.config.js.
Browse files Browse the repository at this point in the history
Merge pull request !56 from bawwtracs/N/A
  • Loading branch information
lbw authored and gitee-org committed Mar 22, 2023
2 parents 9d3986e + c625b3e commit 8867295
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ const {resolve} = require('path')
export default defineConfig(({mode, command}) => {
const env = loadEnv(mode, process.cwd())
return {
build: {
commonjsOptions: {
transformMixedEsModules: true,
include: [],
},
},
optimizeDeps: {
disabled: false,
},
server: {
port: 8080,
proxy: {
Expand Down

0 comments on commit 8867295

Please sign in to comment.