Now in @rollupjs v3.24.0, `#__NO_SIDE_EFFECTS__` annotation is supported to mark function declarations as side-effects free. You might not need to add `#__PURE__` to every call anymore, while providing more optimized bundles!

Thanks a lot to @lukastaegert's great support and fast release!

https://github.com/rollup/rollup/pull/5024

feat: support `#__NO_SIDE_EFFECTS__` annotation for function declaration by antfu · Pull Request #5024 · rollup/rollup

This PR contains: bugfix feature refactor documentation other Are tests included? yes (bugfixes and features will not be merged without tests) no Breaking Changes? yes (breaking change...

GitHub