Closed intellix closed 8 months ago
It looks like while building for storybook vendorRoots
of libraries are not respected when assigned within the vite hook for some reason.
While I'm working on a proper fix, here's a workaround to unblock you by defining them before the build:
For the application myapp
you need to modify 2 files
apps/myapp/vite.config.ts
apps/myapp/.storybook/main.ts
fixed by #218
Current Behavior
After updating from nx 16 to 17, my project's storybook became unbuildable due to an error relating to duplicate exports.
Expected Behavior
It should build without a problem
GitHub Repo
https://github.com/intellix/qwik-nx-storybook-build-error/commit/327ed1283f88b96321e7862cf5f1ee01cf99c4be
Steps to Reproduce
Nx Report
Failure Logs
Additional Information
No response