parcel-bundler / parcel

The zero configuration build tool for the web. 📦🚀
https://parceljs.org
MIT License
43.28k stars 2.26k forks source link

Rust only JS transformer plug-in #9800

Closed yamadapc closed 1 week ago

yamadapc commented 2 weeks ago

Adds transformer plug-in pulled from @devongovett's work on https://github.com/parcel-bundler/parcel/compare/v2...core-rs2

I've tried massaging the source but haven't gone fully through it.

Since we're missing a few fields still on asset, dependency there are some minor parts commented out.

I've questions marked as TODO. I think with better understanding it'll be easier to write tests and break this up further.