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

Rename process to internalProcess #270

Merged
merged 2 commits into from
Apr 14, 2022
Merged

Rename process to internalProcess #270

merged 2 commits into from
Apr 14, 2022

Conversation

tbranyen
Copy link
Owner

This fixes GH-268. Webpack has issues with the process variable and by
renaming the internal usage we can ensure that it points to our
representation and not the external one.

@justjake
Copy link
Contributor

justjake commented Apr 14, 2022

Another day, another Webpack issue. But, I think your Rollup config is already explicitly trying to replace process.env.NODE_ENV statically at build time in a few places:

image

Make sure to fix up those Rollup replacements too!

This fixes GH-268. Webpack has issues with the process variable and by
renaming the internal usage we can ensure that it points to our
representation and not the external one.
@tbranyen
Copy link
Owner Author

Good catch, thanks for the review!

@tbranyen tbranyen merged commit 2ada15a into master Apr 14, 2022
@tbranyen tbranyen deleted the rename-internal-process branch April 14, 2022 03:43
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.

diffhtml: process is not defined
2 participants