tymondesigns / angular-locker

🗄️ A simple & configurable abstraction for local/session storage in angular js projects
https://npm.im/angular-locker
MIT License
314 stars 42 forks source link

chrome map.js parsing error #33

Open majkelch opened 8 years ago

majkelch commented 8 years ago

Chrome Version 49.0.2623.87 (64-bit) shows following error: Failed to parse SourceMap: http://.../bower_components/angular-locker/dist/angular-locker.min.js.map I think it's due to this line: /! angular-locker v2.0.4 | (c) 2016 @tymondesigns | https://github.com/tymondesigns/angular-locker /

wembernard commented 8 years ago

:+1:

wembernard commented 8 years ago

Anyone having a workaround for this issue ?

gabrieleciech commented 8 years ago

I'm having the same problem. How can we investigate more to identify the problem?

cdriscol commented 7 years ago

Source maps are JSON, so having the first line as a comment is invalid. Also throws issues when using this library and enabling source maps in https://github.com/gruntjs/grunt-contrib-concat or https://github.com/gruntjs/grunt-contrib-uglify