Skip to content

Commit

Permalink
feat: add optimizeDeps of Vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
qmhc committed Sep 15, 2023
1 parent 0f91404 commit 6b5a38f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/vite-ts/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import components from 'unplugin-vue-components/vite'
import { VexipUIResolver } from '@vexip-ui/plugins'

export default defineConfig({
optimizeDeps: {
include: ['vexip-ui', 'vexip-ui/es/css/**/*.js', 'vexip-ui/es/style/**/*.js', '@vexip-ui/icons']
},
plugins: [
vue(),
vueJsx(),
Expand Down

0 comments on commit 6b5a38f

Please sign in to comment.