diff --git a/ghu.js b/ghu.js index e031b19e..80971968 100644 --- a/ghu.js +++ b/ghu.js @@ -61,8 +61,7 @@ ghu.task('build:scripts', runtime => { cacheDirectory: true } } - ], - presets: ['es2015'] + ] } }; @@ -126,7 +125,10 @@ ghu.task('build:tests', ['build:styles'], 'build the test suite', () => { { include: [TEST], loader: 'babel', - query: {cacheDirectory: true} + query: { + presets: ['es2015'], + cacheDirectory: true + } } ] }