nolanlawson/optimize-js

Add an option to read sourcemap

Open

#5 aberto em 19 de set. de 2016

Ver no GitHub
 (9 comments) (15 reactions) (0 assignees)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,
})

Guia do colaborador