So Im trying to add source maps to my js project. Im using a very simple uglify command, but every time I run the task, I get an error. Im using uglify 0.5
I have pasted the error and the uglify task below. It minifies and outputs the file just fine. It just will not make the source map. Any help is appreciated.
warning: Unable to write "public/dev/output.min.js.map" file (Error code: undefined). Use --force to continue.
uglify: {
dev: {
options: {
sourceMap: true
},
files: {
'public/dev/output.min.js': ['*/js/angular/angular.js']
}
}
}
Thanks in advance.