nolanlawson/optimize-js

Add an option to read sourcemap

Open

#5 ouverte le 19 sept. 2016

Voir sur GitHub
 (9 commentaires) (15 réactions) (0 assignés)JavaScript (3 761 stars) (128 forks)batch import
enhancementhelp wanted

Description

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,
})

Guide contributeur