terser/terser

Recommend --enable-source-maps

Open

#732 geöffnet am 14. Juni 2020

Auf GitHub ansehen
 (0 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)JavaScript (386 Forks)batch import
good first issue

Repository-Metriken

Stars
 (8.215 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T 16h) (1 gemergte PR in 30 T)

Beschreibung

Bug report or Feature request? Feature request (docs)

Version (complete output of terser -V or specific git commit) any

Complete CLI command or minify() options used N/A

Because --enable-source-maps is now a thing, Terser's readme and issue template should recommend it. It should be a lot easier to use than installing and requiring source-map-support in code you don't really control. Using it as part of the NODE_OPTIONS environment variable is especially interesting, because it affects Terser even if it was invoked from a child process.

Contributor Guide