Skip to content

fix(build): remove occurences of process in UMD build#1047

Merged
shortcuts merged 1 commit into
nextfrom
fix/umd-build
Sep 20, 2021
Merged

fix(build): remove occurences of process in UMD build#1047
shortcuts merged 1 commit into
nextfrom
fix/umd-build

Conversation

@shortcuts

Copy link
Copy Markdown
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
Copy Markdown

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