From c82797dd988b80747c06d46dbda2d06c57df04a9 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 13 Jan 2016 15:32:46 +0000 Subject: [PATCH] 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 --- .babelrc | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .babelrc diff --git a/.babelrc b/.babelrc new file mode 100644 index 000000000..c13c5f627 --- /dev/null +++ b/.babelrc @@ -0,0 +1,3 @@ +{ + "presets": ["es2015"] +}