1
0
forked from mirror/misskey
This commit is contained in:
syuilo 2017-01-12 19:00:42 +09:00
parent 66dbfaae9b
commit 6cca8577c9

View File

@ -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,