jmdobry / angular-cache

angular-cache is a very useful replacement for the Angular 1 $cacheFactory.
http://jmdobry.github.io/angular-cache
MIT License
1.39k stars 156 forks source link

webpack minification error #201

Closed beckend closed 9 years ago

beckend commented 9 years ago

dist/angular-cache.js line 97. module.exports.name = 'angular-cache';

unminified works fine. minified: Uncaught TypeError: Cannot assign to read only property 'name' of angular-cache in chrome console, firefox works fine.

comment/remove that line, minification works fine.