Clean up
This commit is contained in:
parent
1ed4d1ef22
commit
f4bc54f15b
1 changed files with 0 additions and 8 deletions
|
@ -194,13 +194,6 @@ gulp.task('build:client:scripts', async (done) => {
|
||||||
})
|
})
|
||||||
.transform(ls)
|
.transform(ls)
|
||||||
.transform(aliasify, aliasifyConfig)
|
.transform(aliasify, aliasifyConfig)
|
||||||
|
|
||||||
// スペースでインデントされてないとエラーが出る
|
|
||||||
.transform(transformify((source, file) => {
|
|
||||||
if (file.substr(-4) !== '.tag') return source;
|
|
||||||
return source.replace(/\t/g, ' ');
|
|
||||||
}))
|
|
||||||
|
|
||||||
.transform(transformify((source, file) => {
|
.transform(transformify((source, file) => {
|
||||||
return source
|
return source
|
||||||
.replace(/VERSION/g, `'${commit ? commit.hash : 'null'}'`)
|
.replace(/VERSION/g, `'${commit ? commit.hash : 'null'}'`)
|
||||||
|
@ -216,7 +209,6 @@ gulp.task('build:client:scripts', async (done) => {
|
||||||
.replace(/CONFIG\.recaptcha\.siteKey/g, `'${config.recaptcha.siteKey}'`)
|
.replace(/CONFIG\.recaptcha\.siteKey/g, `'${config.recaptcha.siteKey}'`)
|
||||||
;
|
;
|
||||||
}))
|
}))
|
||||||
|
|
||||||
.transform(riotify, {
|
.transform(riotify, {
|
||||||
type: 'livescript',
|
type: 'livescript',
|
||||||
expr: false,
|
expr: false,
|
||||||
|
|
Loading…
Reference in a new issue