Skip to content

Commit

Permalink
Define browserslist target browsers in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
fodor0205 committed Aug 16, 2024
1 parent 1e385a5 commit b6ff01d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions js/.babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
"presets": [
["@babel/preset-env",
{
// "debug": true,
"targets": {
"browsers": ">0.1% in hu"
}
// "debug": true
}
]
],
Expand Down
3 changes: 0 additions & 3 deletions js/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ module.exports = (env) => ({
'@babel/preset-env',
{
// debug: true,
targets: {
browsers: '>0.1% in hu',
},
},
]],
plugins: [
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@
"engines": {
"node": ">=20.11.0"
},
"browserslist": [
">0.1% in hu"
],
"jest": {
"snapshotSerializers": [
"jest-serializer-html"
Expand Down

0 comments on commit b6ff01d

Please sign in to comment.