(no title)
throwitaway1123 | 6 months ago
import * as someLibrary from "some-library"
someLibrary.someFunction()
Which works pretty well with IDE autocomplete in my experience.[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Sammi|6 months ago
sebws|6 months ago
https://esbuild.github.io/api/#tree-shaking
Although there are associated issues but they may be specific to esbuild.
https://github.com/evanw/esbuild/issues/1420