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

Do not export process.env #108

Merged
merged 2 commits into from
Jun 13, 2024
Merged

Do not export process.env #108

merged 2 commits into from
Jun 13, 2024

Conversation

ludovicm67
Copy link
Member

Right now, when the umd file is build, it's including references to process.env.NODE_ENV, and this is making the app crash if we try to load it in the browser.

The Trifid plugin cannot be upgraded because of this issue: zazuko/trifid#400 (comment)

This PR is trying to solve this.

@ludovicm67 ludovicm67 added the enhancement New feature or request label Jun 13, 2024
Copy link

changeset-bot bot commented Jun 13, 2024

🦋 Changeset detected

Latest commit: 946b0d1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@zazuko/spex Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ludovicm67 ludovicm67 merged commit 9a860b6 into main Jun 13, 2024
4 checks passed
@ludovicm67 ludovicm67 deleted the vite-process-env branch June 13, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants