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

safer bundling/transpiling #11

Closed
wants to merge 0 commits into from
Closed

safer bundling/transpiling #11

wants to merge 0 commits into from

Conversation

rvagg
Copy link
Owner

@rvagg rvagg commented Mar 26, 2021

Alternative to #10 that avoids pulling in node-buffer (which I've tried very hard to avoid) and shouldn't trigger process or buffer detection for bundlers by attempting to access them on global. So now we have slightly safer browser & Node feature detection and no need for polyfills that seems to fix for Webpack 5 in certain configurations.

Also deals with the ** and BigInt problem and avoids bigint literals which have some compatibility problems for slightly older environments.

Also adds "main" into the distributed package ..

@achingbrain I'm going to publish this and 🤞

@rvagg rvagg closed this Mar 26, 2021
@rvagg rvagg deleted the rvagg/bundle-fixes branch March 26, 2021 11:06
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.

1 participant