Skip to content

Commit

Permalink
MDL-79003 js: Move browserlist config to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Jan 30, 2024
1 parent 1db97f7 commit c8f80a6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
10 changes: 0 additions & 10 deletions .grunt/tasks/javascript.js
Expand Up @@ -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
}]
Expand Down
10 changes: 9 additions & 1 deletion package.json
Expand Up @@ -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"
]
}

0 comments on commit c8f80a6

Please sign in to comment.