is there a way to add an important comment to the top of the bundled js-file in typescript.
i would like to add automaitcally a comment with the Version-information to the top of the js-file everytime it gets "compiled".
like:
/*!
v 1.0.1.0
Git:...
License: MIT
...
*/
Yes, there are a set of "header" and "footer" tools. I'm using gulp-header and gulp-footer . I beleive similar tools are existing for other build tools.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.