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(build): remove occurences of process in UMD build #1047

Merged
merged 1 commit into from Sep 20, 2021
Merged

Conversation

shortcuts
Copy link
Member

Summary

With bare minimal HTML implementation, it is not possible to use the UMD build without manually providing the process.env.NODE_ENV variable.

See #1046 for more details

Result

This PR updates the rollup config to replaces occurrences of process.env.NODE_ENV by "production", since we only provide an UMD production file.

Fixes #1046

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit cbdb4ef:

Sandbox Source
Vanilla Configuration

@shortcuts shortcuts merged commit 20f54c9 into next Sep 20, 2021
@shortcuts shortcuts deleted the fix/umd-build branch September 20, 2021 09:37
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.

Don't include process in build
3 participants