Skip to content

fix(storybook-angular): prevent duplicate loading of analogjs plugins #1794

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

Merged
merged 1 commit into from
Jul 3, 2025

Conversation

brandonroberts
Copy link
Member

PR Checklist

Closes #

What is the new behavior?

When using the @analogjs/storybook-angular package in combination with a vite.config.mts file that is used for testing, the Analog plugin gets loaded twice with different settings, causing slowdowns in compilation. This filters out any analogjs plugins that were previously loaded before adding the plugin internally.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

[optional] What gif best describes this PR or how it makes you feel?

Copy link

netlify bot commented Jul 3, 2025

Deploy Preview for analog-blog ready!

Name Link
🔨 Latest commit a5cb60c
🔍 Latest deploy log https://app.netlify.com/projects/analog-blog/deploys/6866e0470297220007674cee
😎 Deploy Preview https://deploy-preview-1794--analog-blog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

netlify bot commented Jul 3, 2025

Deploy Preview for analog-app ready!

Name Link
🔨 Latest commit a5cb60c
🔍 Latest deploy log https://app.netlify.com/projects/analog-app/deploys/6866e0473f64df000805387d
😎 Deploy Preview https://deploy-preview-1794--analog-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

netlify bot commented Jul 3, 2025

Deploy Preview for analog-docs ready!

Name Link
🔨 Latest commit a5cb60c
🔍 Latest deploy log https://app.netlify.com/projects/analog-docs/deploys/6866e0476cace3000854a647
😎 Deploy Preview https://deploy-preview-1794--analog-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

netlify bot commented Jul 3, 2025

Deploy Preview for analog-ng-app ready!

Name Link
🔨 Latest commit a5cb60c
🔍 Latest deploy log https://app.netlify.com/projects/analog-ng-app/deploys/6866e04757c22d00083fe6c1
😎 Deploy Preview https://deploy-preview-1794--analog-ng-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@brandonroberts brandonroberts force-pushed the fix-storybook-angular-duplicate-plugins branch from 5487d5e to a5cb60c Compare July 3, 2025 19:55
@brandonroberts brandonroberts merged commit 6aeed12 into beta Jul 3, 2025
22 checks passed
@brandonroberts brandonroberts deleted the fix-storybook-angular-duplicate-plugins branch July 3, 2025 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant