cgross / generator-cg-angular

Yeoman generator for Enterprise Angular projects.
MIT License
592 stars 198 forks source link

[Enhancement] Accept and add build version to CSS and JS path #98

Open atul-bhosale opened 9 years ago

atul-bhosale commented 9 years ago

Enhancement

Accept and add build version to CSS and JS path in grunt build. It will helps to fix cache problem after build.

Command maybe grunt build -v=1.2

After build HTML source will be

<link rel=stylesheet href=app.full.min.css?v=1.2>

<script src=app.full.min.js?v=1.2></script>