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 (3.761 Stars) (128 Forks)batch import
enhancementhelp wanted

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