babel/minify

--input-source-map not respected

Open

#561 ouverte le 1 juin 2017

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)JavaScript (223 forks)batch import
help wanted

Métriques du dépôt

Stars
 (4 377 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur