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
The lib uses Node builtins like module, global, require, Buffer which get polyfilled by bundlers like webpack and result in bundling big polyfills like buffer which are completely unnecessary in the browser.
Also the polyfill dom-parser is getting bundled, which is also unnecessary in the browser.
Therefore a separate browser specific module should be provided which doesn't include any of these aforementioned node specific features.
The text was updated successfully, but these errors were encountered:
The lib uses Node builtins like
module
,global
,require
,Buffer
which get polyfilled by bundlers like webpack and result in bundling big polyfills likebuffer
which are completely unnecessary in the browser.Also the polyfill
dom-parser
is getting bundled, which is also unnecessary in the browser.Therefore a separate browser specific module should be provided which doesn't include any of these aforementioned node specific features.
The text was updated successfully, but these errors were encountered: