Stop using Babel to transpile gulpfile

Bumping NodeJS to 10.15.3 removes the need to
transpile `gulpfile.js` as this version includes
all the ES6 features used..

Also removes .babelrc file. This was included to
ensure the gulpfile was transpiled correctly so it
is no longer needed.
This commit is contained in:
Tom Byers
2019-04-01 10:06:50 +01:00
parent b83053ddd1
commit 71463182f1
2 changed files with 1 additions and 4 deletions

View File

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

View File

@@ -138,7 +138,7 @@ const watchForChanges = () => {
return watch(paths.src + 'javascripts/**/*', ['javascripts'])
.watch(paths.src + 'stylesheets/**/*', ['sass'])
.watch(paths.src + 'images/**/*', ['images'])
.watch('gulpfile.babel.js', ['default']);
.watch('gulpfile.js', ['default']);
};
const lint = {