3 ms·
You do need a build step to actually perform the tree shaking, yes. > How are polyfills done in a pure ESM world? Maybe you could give an example? In my exper
by afavour 3y ago
You do need a build step to actually perform the tree shaking, yes.
> How are polyfills done in a pure ESM world?
Maybe you could give an example? In my experience you’d just
import “polyfill-module”;
At the top of the file. But I suspect you have something specific in mind.