Open yo34 opened 2 years ago
Hi there!
So I have not used webpack much and am not familiar with that error or why there is a need for webpack on Nodejs actually (is it not meant for browser based js?). From my limited understanding, I assume it is complaining about the 'use' of require
in that bit of code, since it is a commonjs module thing? I have not yet added support for esm in this lib, and it will be non-trivial given the node-canvas
memory management concerns, but it is on the roadmap.
Not sure if this helped? If it is not related to my assumption maybe you can guide me a bit on the details of why/ how it is breaking?
Hi,
I using this conf where running webpack :
I get the following error where I build the application :