mirror of
https://github.com/ershisan99/DevToysWeb.git
synced 2025-12-16 20:49:23 +00:00
build: exclude minor browsers from build targets
This commit is contained in:
7
.babelrc
7
.babelrc
@@ -1,5 +1,6 @@
|
||||
// https://emotion.sh/docs/css-prop##babel-preset
|
||||
// https://mui.com/guides/minimizing-bundle-size/#option-2
|
||||
// https://github.com/vercel/next.js/discussions/17822
|
||||
{
|
||||
"presets": [
|
||||
[
|
||||
@@ -8,6 +9,12 @@
|
||||
"preset-react": {
|
||||
"runtime": "automatic",
|
||||
"importSource": "@emotion/react"
|
||||
},
|
||||
"preset-env": {
|
||||
"debug": false,
|
||||
"targets": {
|
||||
"browsers": ">1%, not ie 11, not op_mini all"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user