diff --git a/docs/vite.config.js b/docs/vite.config.js index 95669d20e..7aac62a53 100644 --- a/docs/vite.config.js +++ b/docs/vite.config.js @@ -1,6 +1,6 @@ //vite.config.js import { defineConfig } from "vite"; - +import { splitVendorChunkPlugin } from "vite"; export default defineConfig({ base: "./", server: { @@ -9,6 +9,7 @@ export default defineConfig({ disableHostCheck: true, }, plugins: [ + splitVendorChunkPlugin() ], assetsInclude: ['**/*.PNG','**/*.JPG'] });