Introduction: browserslist is a configuration for letting other developers, packages, plugins, etc., know which browsers your project gives support to. This is done through queries, and there is a way to split these queries into different environments.
{
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
}
Let's say I use a javascript function that is supported by the development config, but not by production.
My question is: then what is the point of having split config between production and development if I would find possible errors for production config that are not detected earlier in development? (Is it because it gives speed on compiling time or some similar advantage?)