-
Notifications
You must be signed in to change notification settings - Fork 131
Possibly remove Babel from generated app #31
Comments
👍 |
This will also fix the demo problem submitted in feathersjs/feathers#212. As long as you are using the latest Node everything should work. In older Node versions you'll just have to use ES5 (which we will mention in the docs). |
k I'll convert this today. |
We probably need to check |
Let's just provide instructions on how they can add Babel if they need another Node version. |
@marshallswain @daffl Were the instructions on how we can add Babel pack ever added somewhere? |
@sscaff1 I'm pretty sure they haven't been added, yet. I created this issue for it, yesterday: feathersjs-ecosystem/docs#105 |
We should definitely have a "Setting up guide" (that most importantly mentions to use nvm and also includes Babel) but the Babel setup would really just be a copy of https://babeljs.io/docs/setup (CLI or require hook). There is nothing Feathers specific that needs to be done. |
I just did some tests and I think Node 5 now pretty much supports all ES6 features that we are using in the docs and the generator except for modules (which actually isn't part of the ES6 spec anyway).
Since @marshallswain already noticed slower app startup time and higher memory consumption using Babel I am proposing to just switch the generator and all documentation examples to
require
imports and syntax that is supported by latest Node.The text was updated successfully, but these errors were encountered: