nolanlawson/optimize-js

Add an option to read sourcemap

Open

#5 geöffnet am 19. Sept. 2016

Auf GitHub ansehen
 (9 Kommentare) (15 Reaktionen) (0 zugewiesene Personen)JavaScript (128 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (3.761 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Adding an option to access the source map would ease the integration with build tools. e.g.:

const {code, map} = optimizeJs(input, {
  sourceMap: true,
  extractSourceMap: true,
})

Contributor Guide