babel/minify

--input-source-map not respected

Open

#561 aperta il 1 giu 2017

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (223 fork)batch import
help wanted

Metriche repository

Star
 (4377 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor