Skip to content
This repository was archived by the owner on Jul 21, 2021. It is now read-only.

Conversation

@digitarald
Copy link
Contributor

Reverts #356

server.js doesn't fun with babel, which causes:

2016-03-08T00:01:40.683982+00:00 app[web.1]: /app/routes/api.js:1
2016-03-08T00:01:40.684018+00:00 app[web.1]: (function (exports, require, module, __filename, __dirname) { import { default as express } from 'express';
2016-03-08T00:01:40.684020+00:00 app[web.1]:                                                               ^^^^^^
2016-03-08T00:01:40.684021+00:00 app[web.1]:
2016-03-08T00:01:40.684026+00:00 app[web.1]: SyntaxError: Unexpected token import
2016-03-08T00:01:40.684027+00:00 app[web.1]:     at exports.runInThisContext (vm.js:53:16)
2016-03-08T00:01:40.684028+00:00 app[web.1]:     at Module._compile (module.js:387:25)
2016-03-08T00:01:40.684028+00:00 app[web.1]:     at Object.Module._extensions..js (module.js:422:10)
2016-03-08T00:01:40.684029+00:00 app[web.1]:     at Module.load (module.js:357:32)
2016-03-08T00:01:40.684030+00:00 app[web.1]:     at Function.Module._load (module.js:314:12)
2016-03-08T00:01:40.684030+00:00 app[web.1]:     at Module.require (module.js:367:17)
2016-03-08T00:01:40.684031+00:00 app[web.1]:     at require (internal/module.js:16:19)
2016-03-08T00:01:40.684032+00:00 app[web.1]:     at Object.<anonymous> (/app/app.js:5:19)
2016-03-08T00:01:40.684032+00:00 app[web.1]:     at Module._compile (module.js:413:34)
2016-03-08T00:01:40.684033+00:00 app[web.1]:     at Object.Module._extensio

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @zalun to be a potential reviewer

digitarald added a commit that referenced this pull request Mar 8, 2016
@digitarald digitarald merged commit 9c3d2c5 into master Mar 8, 2016
@digitarald digitarald deleted the revert-356-add_api branch March 29, 2016 00:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants