babel / babel/minify

--input-source-map not respected

Open
#561 0 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
JavaScript
Stars
4.4k
Forks
217
PR merge metrics
No merged PRs in 30d

Description

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.