From f210260826e9d81680b1e3a8db9b97aa00e4fb6b Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 4 Mar 2017 19:20:58 +0900 Subject: Clean up :sparkles: --- src/index.ts | 4 ---- src/tsconfig.json | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/index.ts b/src/index.ts index 937fef299a..a226fdd6c8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -26,10 +26,6 @@ import loadConfig from './config'; const clusterLog = debug('misskey:cluster'); -// Init babel -require('babel-core/register'); -require('babel-polyfill'); - enum InitResult { Success, Warn, diff --git a/src/tsconfig.json b/src/tsconfig.json index 2909810da0..ecff047a74 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -8,7 +8,7 @@ "noFallthroughCasesInSwitch": true, "declaration": false, "sourceMap": false, - "target": "es6", + "target": "es2017", "module": "commonjs", "removeComments": false, "noLib": false -- cgit v1.2.3-freya