Remove manual version stamping of built file
Closed this issue · 3 comments
brianjmiller commented
Use something like https://www.npmjs.org/package/grunt-text-replace as a grunt task after the "build" process to replace a version identifier in the built files based on the current version in the package.json
file.
brianjmiller commented
Figured out a better way to do this with the already in place concat module. Adding a 'banner' to that task worked a treat.
options: {
banner: "\"<%= pkg.version %>\";\n"
},
brianjmiller commented
I have this in a commit in my local repo waiting on #72.
brianjmiller commented
Resolved by #80.