From 72b1d9fe15ab90f5abd449a0dca183c17e018194 Mon Sep 17 00:00:00 2001 From: wibus-wee <1596355173@qq.com> Date: Sun, 22 Jan 2023 19:05:55 +0800 Subject: [PATCH] perf: remove support for `manualChunks` --- vite.config.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index c28847da..f828397f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -16,15 +16,4 @@ export default defineConfig({ "@states": path.resolve(__dirname, "src/states"), }, }, - // tree shake @icon-park/react - build: { - rollupOptions: { - output: { - manualChunks: { - "icon-park": ["@icon-park/react"], - "vditor": ["vditor"], - }, - }, - }, - }, });