From 1fac4b4ba76d432b9a56e142a8d56571e825950f Mon Sep 17 00:00:00 2001 From: vben Date: Thu, 21 Jan 2021 23:12:42 +0800 Subject: [PATCH] fix(optimize-deps): fix resize-observer-polyfill error --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index da25e664..907f941d 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -100,6 +100,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { 'ant-design-vue/es/locale/zh_CN', 'moment/locale/zh-cn', 'ant-design-vue/es/locale/en_US', + 'resize-observer-polyfill', ], }, };