1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-13 23:25:41 +02:00
This commit is contained in:
syuilo
2017-12-16 01:06:28 +09:00
parent e1cc715589
commit 1a733f6b71
3 changed files with 69 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
import * as fs from 'fs';
import * as glob from 'glob';
import * as yaml from 'js-yaml';
import config from '../../conf';
export default function() {
const vars = {};
@@ -32,5 +33,7 @@ export default function() {
vars['kebab'] = string => string.replace(/([a-z])([A-Z])/g, '$1-$2').replace(/\s+/g, '-').toLowerCase();
vars['config'] = config;
return vars;
}