mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-79003 js: Move browserlist config to package.json
This commit is contained in:
parent
a6216bb890
commit
bca28b03a9
@ -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
|
||||
}]
|
||||
|
10
package.json
10
package.json
@ -45,5 +45,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"
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user