You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the reason is the mock-core-js plugin impoted by @storybook/builder-vite,and it transforms the path which includes the 'core-js' and turns into empty string
why need this plugin? can it removed?
Link to Minimal Reproducible Example
No response
Participation
I am willing to submit a pull request for this issue.
The text was updated successfully, but these errors were encountered:
Thanks everyone. A fix for this has been released in @storybook/builder-vite 0.2.1. You can remove the workaround from your vite config once you upgrade. And please let us know if you hit any problems.
What version of
vite
are you using?0.1.36
System info and storybook versions
Environment Info:
System:
OS: Linux 5.4 Tencent tlinux 2.6
CPU: (16) x64 AMD EPYC 7K62 48-Core Processor
Binaries:
Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node
Yarn: 1.22.18 - ~/.nvm/versions/node/v16.14.2/bin/yarn
npm: 8.5.0 - ~/.nvm/versions/node/v16.14.2/bin/npm
npmPackages:
@storybook/addon-essentials: ^6.5.6 => 6.5.6
@storybook/addon-links: ^6.5.6 => 6.5.6
@storybook/addons: ^6.5.6 => 6.5.6
@storybook/builder-vite: ^0.1.36 => 0.1.36
@storybook/testing-library: ^0.0.11 => 0.0.11
@storybook/theming: ^6.5.6 => 6.5.6
@storybook/vue3: ^6.5.6 => 6.5.6
Describe the Bug
when I build, occurs an error:
I found the reason is the
mock-core-js
plugin impoted by@storybook/builder-vite
,and it transforms the path which includes the 'core-js' and turns into empty stringwhy need this plugin? can it removed?
Link to Minimal Reproducible Example
No response
Participation
The text was updated successfully, but these errors were encountered: