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
Adding a field browser: "dc.js" to package.json will tell browserify not to try including jsdom in the bundle, nor tamper with globals. It's done this way in d3.js and works well.
The text was updated successfully, but these errors were encountered:
This will make Browserify skip bundling the scripts intended to run on
CommonJS platforms and instead make it bundle dc.js directly. This fixes
problems where Browserify is unable to find jsdom because it is not listed
in the dependencies (and is not required on browser anyway). Resolvesdc-js#1005.
Adding a field
browser: "dc.js"
to package.json will tell browserify not to try including jsdom in the bundle, nor tamper with globals. It's done this way in d3.js and works well.The text was updated successfully, but these errors were encountered: