babel/minify

--input-source-map not respected

开放

#561 创建于 2017年6月1日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (223 个派生)batch import
help wanted

仓库指标

星标
 (4,377 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南