ES.nextNews: the latest in JavaScript and cross-platform tools
Curated by Dr. Axel Rauschmayer and Johannes Weber.

ES.next News

The latest in JavaScript and cross-platform tools

Parcel v2.9.0: package exports, ESM-based plugins and configs, incremental symbol propagation and more
parceljs.org@parcel-bundler
Highlights:
  • New module specifier resolver that supports package exports and more
  • “Parcel now supports plugins and config files written as native ES modules in addition to the existing support for CommonJS.”
  • “Historically, Parcel v2 plugins have been required to be npm packages. [...] In Parcel v2.9.0, plugins can be referenced as relative paths from your .parcelrc config.”
  • “In Parcel v2.9.0, we are switching the default minifier from Terser to SWC [...] The SWC minifier is around 7× faster than Terser, while producing comparable to even smaller output size.”
  • “Symbol propagation is an algorithm that walks the full dependency graph of your project, and determines which exports of each module are actually used and which ones can be tree shaken away. In Parcel v2.9.0, this algorithm is now incremental.”
  • Build performance tracing tracks “how much time is spent in each phase of your build, which plugins were called into, and how long is spent in each.”.


npm provenance: How to get a simple and secure release pipeline
www.nearform.com@AlanSl, @nearform

NPM recently added support for ‘Provenance’ banners, thereby boosting package credibility. It achieved this by proving that a package was published from a particular commit and using a particular GitHub Actions pipeline.

[...]

In this article, we’ll talk about how you can get an easy-to-use, secure release pipeline that generates provenance statements, either by adding provenance support to your own existing pipeline, or by using our [open-source] Optic toolkit.



Try esbuild online
esbuild.github.io@evanw


Looking for deeply qualified employees or customers? Advertise on ES.next News!
ES.next News reaches over 15,000 highly skilled and motivated developers. We take their trust seriously and have high editorial standards.
Check out our media data and get directly in touch with us.
Follow on Twitter

This email was sent to {{ email | default }}. Want to change how you receive these emails?
You can unsubscribe from this list