Be explicit about ECMAScript version of Gulpfile

If Node tries to parse the Gulpfile as the wrong version of ECMAScript it will
choke.

This can be stopped by explicitly telling it what version of ECMAScript to use,
as suggested here: https://markgoodyear.com/2015/06/using-es6-with-gulp/

Fixes #74
This commit is contained in:
Chris Hill-Scott
2016-01-13 15:32:46 +00:00
parent 7c246ba3ac
commit c82797dd98

3
.babelrc Normal file
View File

@@ -0,0 +1,3 @@
{
"presets": ["es2015"]
}