diff --git a/.grunt/tasks/javascript.js b/.grunt/tasks/javascript.js index 6f7476fef45..1243fff0b45 100644 --- a/.grunt/tasks/javascript.js +++ b/.grunt/tasks/javascript.js @@ -154,16 +154,6 @@ module.exports = grunt => { ], presets: [ ['@babel/preset-env', { - targets: { - browsers: [ - ">0.3%", - "last 2 versions", - "not ie >= 0", - "not op_mini all", - "not Opera > 0", - "not dead" - ] - }, modules: false, useBuiltIns: false }] diff --git a/package.json b/package.json index bf5a2f883fd..0c83b02c943 100644 --- a/package.json +++ b/package.json @@ -46,5 +46,13 @@ }, "engines": { "node": ">=20.11.0 <21" - } + }, + "browserslist": [ + ">0.3%", + "last 2 versions", + "not ie >= 0", + "not op_mini all", + "not Opera > 0", + "not dead" + ] }