node-html-to-image
node-html-to-image copied to clipboard
Problem adding the library in Angular
trafficstars
I get this error when trying to add this library in Angular:
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "url": require.resolve("url/") }'
- install 'url'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "url": false }
Hi @oriollpz 👋
I don't use Angular, I added the tag "help wanted" hope someone pass by and give you an answer 😄