Parcel Terser Bug

Take note of the timestamp of the blog, but at the moment, there appears to be a bug with Parcel and the latest version of Node as it relates to a dependency of Parcel’s called optimizer-terser. The bug with Terser appears as such: 🚨 Build failed. @parcel/optimizer-terser: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer The relevant issue link for this was found here: Parcel Issue #8005 but it’s suggested that the only solution is to roll back to a previous version of Node, 17....

May 2, 2022 · 1 min · Me