You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
anddist/app.js - dist/app.js.map
. I want to concatenate files in theserver.js
and in the same moment concatenate their map-files inserver.js.map
for can be able to debug resultedserver.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.
The text was updated successfully, but these errors were encountered: