babel/minify

--input-source-map not respected

Open

#561 geöffnet am 1. Juni 2017

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (4.377 Stars) (223 Forks)batch import
help wanted

Beschreibung

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

Contributor Guide