diff --git a/Gruntfile.js b/Gruntfile.js index 94afa86b..5c784f8c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -56,7 +56,7 @@ module.exports = function(grunt) { "transform-runtime" ] : [], ignore: ['*.min.js'], - presets: [["env", { + presets: [[require.resolve('babel-preset-env'), { targets: { browsers: compat ? [ 'IE >= 11',