babel/minify

--input-source-map not respected

オープン

#561 opened on 2017/06/01

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (223 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (4,377 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド