Skip to content

fix(storybook): conditionally include node imports only for non-angular frameworks#33728

Merged
Coly010 merged 2 commits intonrwl:masterfrom
fALKENdk:fix/storybook-conditional-imports
Dec 9, 2025
Merged

fix(storybook): conditionally include node imports only for non-angular frameworks#33728
Coly010 merged 2 commits intonrwl:masterfrom
fALKENdk:fix/storybook-conditional-imports

Conversation

@fALKENdk
Copy link
Copy Markdown
Contributor

@fALKENdk fALKENdk commented Dec 6, 2025

Current Behavior

The fileURLToPath and dirname imports are only used in the getAbsolutePath function, which is only generated for non-Angular Storybook projects.

Expected Behavior

This change prevents unnecessary imports from being added to Angular Storybook configurations.

…ar frameworks

The fileURLToPath and dirname imports are only used in the getAbsolutePath function, which is only
generated for non-Angular Storybook projects. This change prevents unnecessary imports from being
added to Angular Storybook configurations.
@fALKENdk fALKENdk requested a review from a team as a code owner December 6, 2025 19:26
@fALKENdk fALKENdk requested a review from Coly010 December 6, 2025 19:26
@netlify
Copy link
Copy Markdown

netlify Bot commented Dec 6, 2025

👷 Deploy request for nx-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 42214de

@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
nx-dev Ready Ready Preview Dec 8, 2025 10:44pm

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Dec 9, 2025

View your CI Pipeline Execution ↗ for commit 42214de

Command Status Duration Result
nx affected --targets=lint,test,test-kt,build,e... ✅ Succeeded 9m 3s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 2m 41s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 11s View ↗
nx-cloud record -- nx format:check ✅ Succeeded <1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-12-09 10:38:14 UTC

@Coly010 Coly010 merged commit cb5510d into nrwl:master Dec 9, 2025
16 of 17 checks passed
@fALKENdk fALKENdk deleted the fix/storybook-conditional-imports branch December 9, 2025 18:45
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants