Commit 732416a
Improve tree shakability (#612)
* Add `sideEffects: false` to `libesm/package.json`
* Make tweaks I proposed in convo at #612
* Fix build for Unix (and break it again for Windows in the process)
* Use `node --eval`
* --target es6 for ESM build
@fisker points out at #612 (comment) that ESM modules aren't usable by ES5 environments anyway, so targeting ES5 is pointless
---------
Co-authored-by: Mark Amery <[email protected]>1 parent 0365f4b commit 732416a
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments