From fdb09f7b3160f90d894cbbad016b84c6e760b1f2 Mon Sep 17 00:00:00 2001 From: Mary Hipp Date: Wed, 28 Jun 2023 15:27:44 -0400 Subject: [PATCH] try removing polyfill --- invokeai/frontend/web/config/vite.package.config.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/invokeai/frontend/web/config/vite.package.config.ts b/invokeai/frontend/web/config/vite.package.config.ts index 6293644e1b..797cd6c3f3 100644 --- a/invokeai/frontend/web/config/vite.package.config.ts +++ b/invokeai/frontend/web/config/vite.package.config.ts @@ -6,14 +6,12 @@ import { visualizer } from 'rollup-plugin-visualizer'; import { PluginOption, UserConfig } from 'vite'; import eslint from 'vite-plugin-eslint'; import tsconfigPaths from 'vite-tsconfig-paths'; +import { commonPlugins } from './common'; export const packageConfig: UserConfig = { base: './', plugins: [ - react(), - eslint(), - tsconfigPaths(), - visualizer() as unknown as PluginOption, + ...commonPlugins, dts({ insertTypesEntry: true, }),