-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
es6 support #413
Comments
From npm@5.2.0, npm ships with npx package which lets you run commands from a local Try: "start": "nodemon -e js,graphql -x node -r dotenv/config --exec npx babel-node src/index.js" |
@Gomah
|
any updates on this? |
In your
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do I add es6 support to the server ?
I tryed:
yarn add -D babel-cli babel-plugin-transform-object-rest-spread babel-preset-env
package.json
"start": "nodemon -e js,graphql -x node -r dotenv/config babel-node src/index.js",
.babelrc
but I get an error in response:
The text was updated successfully, but these errors were encountered: