fix: embed

This commit is contained in:
CaIon
2024-03-23 19:27:18 +08:00
parent f823b4d4d8
commit 21f48b55e0
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
import { defineConfig, transformWithEsbuild } from 'vite';
import react from '@vitejs/plugin-react';
import { splitVendorChunkPlugin } from 'vite'
// https://vitejs.dev/config/
export default defineConfig({
@@ -18,6 +19,7 @@ export default defineConfig({
},
},
react(),
splitVendorChunkPlugin()
],
optimizeDeps: {
force: true,