diff --git a/package.json b/package.json index b627df57..2d7fa619 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "dependencies": { "apn": "^1.7.5", "aws-sdk": "~2.2.33", + "babel-polyfill": "^6.5.0", "babel-runtime": "^6.5.0", "bcrypt-nodejs": "0.0.3", "body-parser": "^1.14.2", diff --git a/src/index.js b/src/index.js index 6ff5bab7..36f94284 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,7 @@ // ParseServer - open-source compatible API Server for Parse apps +import 'babel-polyfill'; + var batch = require('./batch'), bodyParser = require('body-parser'), cache = require('./cache'), @@ -18,7 +20,6 @@ import { FilesController } from './Controllers/FilesController'; import ParsePushAdapter from './Adapters/Push/ParsePushAdapter'; import { PushController } from './Controllers/PushController'; - import { ClassesRouter } from './Routers/ClassesRouter'; import { InstallationsRouter } from './Routers/InstallationsRouter'; import { UsersRouter } from './Routers/UsersRouter';