Support source maps with many-to-one mappings
How am I suppose to use sourceMap?
I have a following configuration in place:
ngAnnotate: {
options: {
add: true,
singleQuotes: true,
sourceMap: true // it neither works for the string parameter 'dist/bundle.js.map'
},
dist: {
files: {
'dist/bundle.js': [ 'app/modules/*/*.js', 'app/*.js']
}
}
},
The error doesn't make any sense. I'm crating a SINGLE bundle file and I want its source map. Please help :)
I haven't implemented it yet. Supporting single files is simple as I just pass proper arguments to ng-annotate and that's it. Supporting multiple files requires managing combining source maps; I haven't done such a thing so far and it's not a quick thing to do.
PR welcome. If no one submits one, I'll probably get to it after some time but it might not happen quickly.
Fair enough :)
:+1:
waiting for...
would be nice to have
need it so much urgent :-)
+1!
I have absolutely no time to work on PR right now :( Sorry for the false hopes...
Note that ng-annotate is now in a process of being deprecated in favor of the babel-plugin-angularjs-annotate package so it might be better to just move to it instead of spending time on fixing this issue.