Skip to content

Commit

Permalink
keep only newest browser
Browse files Browse the repository at this point in the history
  • Loading branch information
æLtorio committed Jan 8, 2025
1 parent 6497c0a commit 5ee355f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
7 changes: 6 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,10 @@
"style-loader": "^4.0.0",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1"
}
},
"browserList": [
"> 1%",
"not dead",
"not ie <= 11"
]
}
12 changes: 3 additions & 9 deletions client/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,13 @@ module.exports = {
loader: 'babel-loader',
options: {
presets: [
['@babel/preset-env', {
targets: {
"chrome": "58",
"edge": "15",
"firefox": "55",
"ios": "10"
}
}],
['@babel/preset-env'],
'@babel/preset-react'
],
plugins: [
["@babel/plugin-proposal-decorators", { "version": "legacy" }],
["@babel/plugin-proposal-private-methods", { "loose": true }],
["@babel/plugin-proposal-private-property-in-object", { "loose": true }],
["@babel/plugin-proposal-decorators", { "legacy": true }],
["@babel/plugin-proposal-class-properties", { "loose": true }],
"@babel/plugin-proposal-function-bind"
]
Expand Down

0 comments on commit 5ee355f

Please sign in to comment.