-
Notifications
You must be signed in to change notification settings - Fork 10
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
Webpack >= 5 no longer include polyfills for node.js core modules by default. #10
Comments
Looking closer at this: Specifying/overriding resolves requires changing the webpack config which is not possible with vanilla Create React App unless we eject. An alternative is to go the |
@Andrei-Stepanov Do you have a preferred way of solving this (eject vs. |
Hm, is only us who bumps into this? maybe try look for more solutions? I am against for 100% for eject. This is development code. I propose to google other solutions or practices that allows publish code on github. |
Well, Another option that comes to mind is migrating to a different XML parsing library. The one we use was last updated 6 years ago, so the migration would be a prudent decision either way. A quick search turns up two fair-looking candidates: htmlparser2 (~22 million weekly downloads, written in TypeScript) and fast-xml-parser (~4 million, JS but with TS declarations built in). |
The `xml2js-parser` package hasn't been updated in 6 years, so it's time to move to a more up-to-date alternative. `fast-xml-parser` looks fairly decent, has TypeScript declarations built-in and will allow us to debug and iterate faster on changes in the future. Closes #10
The `xml2js-parser` package hasn't been updated in 6 years, so it's time to move to a more up-to-date alternative. `fast-xml-parser` looks fairly decent, has TypeScript declarations built-in and will allow us to debug and iterate faster on changes in the future. Closes #10
The `xml2js-parser` package hasn't been updated in 6 years, so it's time to move to a more up-to-date alternative. `fast-xml-parser` looks fairly decent, has TypeScript declarations built-in and will allow us to debug and iterate faster on changes in the future. Closes #10
The `xml2js-parser` package hasn't been updated in 6 years, so it's time to move to a more up-to-date alternative. `fast-xml-parser` looks fairly decent, has TypeScript declarations built-in and will allow us to debug and iterate faster on changes in the future. Closes #10
Possible solution: Install polyfills and resolve them or turn them off using new Webpack API
Blocks: #6
The text was updated successfully, but these errors were encountered: