-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When user runs Storybook on vite ESM exports config (.mjs) makes it are not capable to build.
Steps to reproduce the behavior
- Set up vite based storybook
- Install
storybook-addon-theme-provider@0.1.10 - Run build-storybook
- Error happens.
Expected behavior
Should work
Screenshots and/or logs
Available here morewings/storybook-addon-theme-provider#11
Additional context
I managed to fix it by removing exports config from package.json and using only cjs build. Not sure if it's the best way.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working