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
Top level calls are hard to treeshake because tree-shakers/minifiers are often "afraid" of removing them because of potential side-effects of those calls.
Possible solution:
Add #__PURE__ annotations before those calls to reassure UglifyJS that those calls can be dropped if their results stay unused - either manually or with help of https://github.com/Andarist/babel-plugin-annotate-pure-calls
Intent to implement:
yes - would only have to know if you want to tackle this one
The text was updated successfully, but these errors were encountered:
Top level calls are hard to treeshake because tree-shakers/minifiers are often "afraid" of removing them because of potential side-effects of those calls.
Culprits:
d3-array/src/bisect.js
Line 4 in 36edab3
d3-array/src/ticks.js
Lines 1 to 3 in 36edab3
Possible solution:
Add
#__PURE__
annotations before those calls to reassure UglifyJS that those calls can be dropped if their results stay unused - either manually or with help of https://github.com/Andarist/babel-plugin-annotate-pure-callsIntent to implement:
yes - would only have to know if you want to tackle this one
The text was updated successfully, but these errors were encountered: