Rename copyright file for JS

This commit is contained in:
Cotes Chung 2021-04-02 15:35:36 +08:00
parent 1c0cd6b6b0
commit 1ff38722a2
2 changed files with 1 additions and 1 deletions

View file

@ -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));
}