Source maps use for es6 + minify

Is there a way to have source maps directly for ES6 code that is crowded? That is, I am writing ES6 code, which is broadcast, for example. es6-transpiler , then minimize and merge ES5 into one file. But I would like to have sources in the original ES6. Is it possible?

Any transpilers / minifiers and a building tool (grunt, gulp) will be sufficient.


I do not agree with the decision "off topic" in general, because we are talking about a specific practical problem. However, I would suggest an aviar that I came across today:

https://github.com/azu/multi-stage-sourcemap

+6
source share

All Articles