babel/minify

--input-source-map not respected

Open

#561 建立於 2017年6月1日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (4,377 star) (223 fork)batch import
help wanted

描述

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

貢獻者指南