Closed CodyJasonBennett closed 12 months ago
Adds @__PURE__ annotations on top-level expressions to mark them as pure and good to tree-shake if the containing module is not used.
@__PURE__
You can test this with npx agadoo@latest src/index.js.
npx agadoo@latest src/index.js
Thanks so much, I wasn't aware of @__PURE__ annotations - super handy.
Adds
@__PURE__
annotations on top-level expressions to mark them as pure and good to tree-shake if the containing module is not used.You can test this with
npx agadoo@latest src/index.js
.