Netlify requires a .nvmrc to specify the Node.js version.

Otherwise, they just use their "default" version of Node.js, which isn't
necessarily what we want and doesn't come with npm@5.

Their best practices (see refs) recommend setting a `.nvmrc`, which I support.

Ref: https://www.netlify.com/docs/build-settings/#build-environment-variables
Ref: https://www.netlify.com/docs/#helpful-hints
This commit is contained in:
Jesse Rosenberger
2018-02-06 19:03:42 +02:00
parent 078a7d1531
commit 49542e34b3

1
docs/.nvmrc Normal file
View File

@@ -0,0 +1 @@
v8.9.4