Skip to content

Commit

Permalink
Split 3rd-party libs to separated assets
Browse files Browse the repository at this point in the history
  • Loading branch information
xingrz committed Mar 23, 2024
1 parent ef52f37 commit 20c62b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig } from 'vite';
import { defineConfig, splitVendorChunkPlugin } from 'vite';
import vue from '@vitejs/plugin-vue';
import { resolve } from 'path';

Expand All @@ -10,5 +10,6 @@ export default defineConfig({
},
plugins: [
vue(),
splitVendorChunkPlugin(),
],
});

0 comments on commit 20c62b8

Please sign in to comment.