Skip to content

Conversation

@hkjpotato
Copy link
Contributor

@hkjpotato hkjpotato commented Jul 6, 2021

based on spec https://github.com/defunctzombie/package-browser-field-spec

Adding this can help solve several issues related to webpack/nextjs build, as it avoids shimming the crypto-browserify when resolving crypto-js/core. Otherwise, user needs to manually update the resolving setting in their webpack/nextjs config.

related issues:
#354
#276
aws-amplify/amplify-js#7570

@hkjpotato
Copy link
Contributor Author

@evanvosberg can I get review on this tiny change? It is kind of blocking our usage of crypto-js now. Thank you.

@Hinaser
Copy link

Hinaser commented Jul 7, 2021

You can try jscrypto which solves various issues like you mentioned.

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.

4 participants