Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to specify multiple input source-map when concatenate files? #2419

Closed
krivochenko opened this issue Nov 1, 2017 · 1 comment
Closed

Comments

@krivochenko
Copy link

Bug report or feature request?
feature

ES5 or ES6+ input?
ES6

Uglify version (uglifyjs -V)
uglify-js 3.1.6

Hi, everyone

I have two JS-files compiled by Webpack. Each of them has source-map: dll/vendor.js - dll/vendor.js.map and dist/app.js - dist/app.js.map. I want to concatenate files in the server.js and in the same moment concatenate their map-files in server.js.map for can be able to debug resulted server.js.

I use UglifyJS: uglifyjs dll/vendor.js dist/app.js --output dist/server.js
Following by documentation I have to specify --source-map content='/path/to/source/map'

How I can define two source-maps? Or, maybe, there is another way to concatenate files.

Thanks for advance.

@alexlamsl
Copy link
Collaborator

Closing as duplicate of #145

Basically we're waiting for contribution on this feature for quite a while now 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants