Skip to content

avoid bundling node crypto in browser#359

Closed
hkjpotato wants to merge 1 commit intobrix:developfrom
hkjpotato:avoid-native-bundle
Closed

avoid bundling node crypto in browser#359
hkjpotato wants to merge 1 commit intobrix:developfrom
hkjpotato:avoid-native-bundle

Conversation

@hkjpotato
Copy link
Contributor

Fixed #276

I just follow the fix on the similar issue found in decimal.js.
MikeMcl/decimal.js#42

However, crypto-js should probably consider removing require at all.
MikeMcl/decimal.js#42 (comment)

@hkjpotato
Copy link
Contributor Author

@evanvosberg can you help review this tiny PR, thank you

@hkjpotato hkjpotato closed this Jul 6, 2021
@hkjpotato
Copy link
Contributor Author

close it because there is a better solution following the spec #364

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.

Because you write require("crypto"), use in Browser Webpack Bundle will inject more than 400kb node-browser code include bundle

1 participant