Skip to content
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

Core: Fix main.js glob resolution for direct paths in stories #15775

Merged
merged 1 commit into from Aug 7, 2021

Conversation

lkuechler
Copy link
Contributor

Issue: #15746

What I did

I extended the fallback variant to exclude the slash directly after the base path as recommended by @dcwarwick in the linked issue.
There is now also a test for this case.

@nx-cloud
Copy link

nx-cloud bot commented Aug 6, 2021

Nx Cloud Report

CI ran the following commands for commit e54a662. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch

Status Command
#000000 nx run-many --target=prepare --all --parallel --max-parallel=15

Sent with 💌 from NxCloud.

@shilman shilman changed the title fix issue where direct paths in the stories array would not resolve Core: Fix issue where direct paths in the stories array would not resolve Aug 7, 2021
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fast followup @lkuechler, much appreciated! 🙏

@shilman shilman changed the title Core: Fix issue where direct paths in the stories array would not resolve Core: Fix main.js glob resolution for direct paths in stories Aug 7, 2021
@shilman shilman merged commit 1143d69 into storybookjs:next Aug 7, 2021
@shilman shilman added this to the 6.4 PRs milestone Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants