[Bug]: I use MUI and Storybook to create the new UI library, here I used light and dark theme to customize 'Button' component color, its theme is working properly in local dev environment. but not working on using the component from 'dist' directory after npm run build
.
#17899
Labels
Describe the bug
I use MUI and Storybook to create the new UI library, here I used light and dark theme to customize 'Button' component color, its theme is working properly in local dev environment. but not working on using the component from 'dist' directory after
npm run build
. please see the detail of 'App.tsx' file, in which its working good onimport { Button } from './components'
and will lose theme whenimport { Button } from '../dist/try-ui-core-component'
.Reproduction
https://stackblitz.com/~/github.com/rick-liyue-huang/try-ui-core-component
Steps to reproduce
No response
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: