mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 06:20:23 +08:00

The `decodedMap` prop comes from https://github.com/terser/terser/pull/1190 > This also exposes a new `decodedMap` property on the result object. Decoded maps are free to create (it's a shallow clone of the `GenMapping` instance), and passing them to `@jridgewell/trace-mapping` is copy-free. With Babel [recently](https://github.com/babel/babel/pull/14497) adding a `decodedMap` field, a dev could pass from the Babel transpilation to Terser without any added memory use for sourcemaps.