3 ms·
Often with AngularJS, after minification, you find you've not properly injected a service or something and looking for a missing 'a' is near impossible. This wo
by marquis 13y ago
Often with AngularJS, after minification, you find you've not properly injected a service or something and looking for a missing 'a' is near impossible. This would be really useful to hunting that down. Would make a great post-min debug Grunt module.
- catshirt 13y agosource maps seem more suitable for the job
- joshuacc 13y agoYou might find ngmin[1] helpful for that. Then you can use the shorter injection syntax and have it expanded via a compilation step. Since you mentioned Grunt, you'd probably want to just use grunt-ngmin[2]. [1] https://github.com/btford/ngmin https://github.com/btford/ngmin [2] https://github.com/btford/grunt-ngmin https://github.com/btford/grunt-ngmin