Skip to content

chore: add webpack5 polyfill#30

Open
smeng9 wants to merge 1 commit intoPaciolan:masterfrom
smeng9:master
Open

chore: add webpack5 polyfill#30
smeng9 wants to merge 1 commit intoPaciolan:masterfrom
smeng9:master

Conversation

@smeng9
Copy link

@smeng9 smeng9 commented Jan 18, 2023

Currently when we use the @paciolan/remote-component in create-react-app 5.0.1 (webpack 5), it will throw errors "webpack < 5 used to include polyfills for node.js core modules..." as webpack 5 no longer polyfills http and https node module.

We need to include polyfill dependencies by ourselves and use a browser field.

@smeng9
Copy link
Author

smeng9 commented Jan 18, 2023

Closes #27

@smeng9
Copy link
Author

smeng9 commented Jan 18, 2023

Linked issue: Paciolan/remote-component#52

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