babel/minify

--input-source-map not respected

Aberta

#561 aberto em 1 de jun. de 2017

 (0 comentário) (0 reação) (0 responsável)JavaScript (223 forks)batch import
help wanted

Métricas do repositório

Stars
 (4.377 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Situation: I produce a bundle with another tool that has a source map to the original files. I'd like to minify this bundle with babili.

I've run this command (and variations with --inputSourceMap etc) babili --source-maps --input-source-map=./dist/bundle.js.map -o ./dist/bundle.min.js ./dist/bundle.js

Expected: ./dist/bundle.min.js.map maps lines to the original files Actual: ./dist/bundle.min.js.map maps lines to ./dist/bundle.js

Guia do colaborador