Browse Source

fix(optimize-deps): fix resize-observer-polyfill error

vben 4 years ago
parent
commit
1fac4b4ba7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      vite.config.ts

+ 1 - 0
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',
       ],
     },
   };