Closed klebba closed 10 years ago
Yes, this is standard.
This question has been raised before. See #40.
Quick answer:
Use src/angular-cache.js
instead, which is listed in bower.json
as "main": "./src/angular-cache.js",
The dist/
folder is for those who don't use Bower. Relying on src/angular-cache.js
should solve your inconsistent filename problem!
:smile:
@klebba And thanks for the compliment!
I'm actually interested in using your minified version with Bower, so I want the dist. In my experience the version number is not present in any Bower package I have installed. For what it's worth, this includes angular, bootstrap, lodash, moment, jquery, select2, and ace. If I had to increment the version number for each of these libraries in my Gruntfile build step as they evolved it would be very tedious to keep up!
Understandable, and I agree. I assumed src/angular-cache.js
would satisfy everyone who uses Bower–there isn't anything special about how I minified the file.
Thanks!
You should remove the rev from the filenames in the dist directory, so your user's build scripts can rely on a consistent file name. See https://github.com/angular/bower-angular
Thanks for a great utility!