fix: embed

This commit is contained in:
CaIon
2024-03-23 19:27:18 +08:00
parent 5216bd22ad
commit da872880c1
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,