Skip to content

Commit

Permalink
redo vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
Zorkham committed Nov 26, 2024
1 parent e96005d commit dfa2881
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
import { defineConfig } from 'vite'

export default defineConfig({
server: {
port: 3000
},
build: {
rollupOptions: {
output: {
manualChunks: (id) => {
if (id.includes('node_modules')) {
return id
.toString()
.split('node_modules/')[1]
.split('/')[0]
.toString()
}
}
}
}
outDir: 'dist'
}
})

0 comments on commit dfa2881

Please sign in to comment.