forked from mirror/misskey
Clean up
This commit is contained in:
parent
66dbfaae9b
commit
6cca8577c9
@ -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 New Issue
Block a user