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

fix(plugin): polyfill upgrade breaking build #374

Merged
merged 2 commits into from
Aug 11, 2023
Merged

Conversation

mkilpatrick
Copy link
Collaborator

A minor version change to vite-plugin-node-polyfill adds a dev-only polyfill because it always assumes dev. This breaks the build when generating features because window is undefined. This changes the globals to be polyfilled as "build".

@mkilpatrick mkilpatrick requested a review from a team as a code owner August 10, 2023 21:46
@mkilpatrick mkilpatrick merged commit d376d4c into main Aug 11, 2023
@mkilpatrick mkilpatrick deleted the polyfill-fix branch August 11, 2023 14:16
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.

2 participants