Rename copyright file for JS
This commit is contained in:
parent
1c0cd6b6b0
commit
1ff38722a2
2 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ function concatJs(files, output) {
|
|||
|
||||
function minifyJs() {
|
||||
return src(`${ jsDest }/*.js`)
|
||||
.pipe(insert.prepend(fs.readFileSync(`${ JS_ROOT }/.copyright`, 'utf8')))
|
||||
.pipe(insert.prepend(fs.readFileSync(`${ JS_ROOT }/_copyright`, 'utf8')))
|
||||
.pipe(uglify({output: {comments: /^!|@preserve|@license|@cc_on/i}}))
|
||||
.pipe(dest(jsDest));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue