export theme nad move chakra to peer dep

This commit is contained in:
Mary Hipp 2023-07-31 13:24:20 -04:00 committed by psychedelicious
parent 1b131e328a
commit e2e5918ee2
2 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,7 @@ export const packageConfig: UserConfig = {
fileName: (format) => `invoke-ai-ui.${format}.js`,
},
rollupOptions: {
external: ['react', 'react-dom', '@emotion/react'],
external: ['react', 'react-dom', '@emotion/react', '@chakra-ui/react'],
output: {
globals: {
react: 'React',

View File

@ -6,3 +6,4 @@ export { default as ParamMainModelSelect } from './features/parameters/component
export { default as InvokeAiLogoComponent } from './features/system/components/InvokeAILogoComponent';
export { default as SettingsModal } from './features/system/components/SettingsModal/SettingsModal';
export { default as StatusIndicator } from './features/system/components/StatusIndicator';
export { theme } from './theme/theme';