unjs / jiti

Runtime Typescript and ESM support for Node.js
MIT License
1.49k stars 52 forks source link

build: add `unplugin-purge-polyfills` #261

Open danielroe opened 1 week ago

danielroe commented 1 week ago

This is an experiment with using unplugin-purge-polyfills in a webpack-based project.

It does not currently remove any polyfills - investigating.

It seems we do not have any of these packages in the build output at the moment as they are only present in jiti in eslint + webpack cli.