You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using html2canvas in an angular component. Everything works fine but the build warns that it is not ESM. I can see that there is html2canvas.esm.js file in the node_modules folder. Is there a correct way to import this library to make it ECMAScript compatible?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using html2canvas in an angular component. Everything works fine but the build warns that it is not ESM. I can see that there is html2canvas.esm.js file in the node_modules folder. Is there a correct way to import this library to make it ECMAScript compatible?
Beta Was this translation helpful? Give feedback.
All reactions