New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RegExp for builder webpack5 for storybook not recognized properly #9290
Comments
Hi there @creaux ! Thanks for filing an issue! I am going to mark this as an enhancement. Although I understand the issues that this may cause to your setup, I still believe it's sort of a niche use-case. We are relying on a regex to determine the That said, if you come up with a better/more efficient way to do this, let me know, and I can help you implement this, as a contribution! :) Thank you, again, very much for submitting this issue! :) |
Linking this here. I'll fix this soon! |
ISSUES CLOSED: nrwl#10585, nrwl#9290
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
As soon as storybook configuration is structured by modules.
Where .storybook/configuration/core.config.ts could be like follows:
And .storybook/configuration/index.ts
And .storybook/main.ts therefore:
The it doesn't work as following line is raw file reader and regexp.
nx/packages/storybook/src/executors/utils.ts
Line 117 in a32d46c
Workaround is to put core property directly in
main.ts
. But I think it shiould work in better way.The text was updated successfully, but these errors were encountered: