From 0b4a7904d03a0dd46a11b650b8af9d1ba09bba5f Mon Sep 17 00:00:00 2001 From: Andrew Leedham Date: Thu, 16 Apr 2020 19:53:59 +0100 Subject: [PATCH 1/3] docs(preset-env): add browserslistEnv option --- docs/preset-env.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/preset-env.md b/docs/preset-env.md index 22c58ad524..52aaa6863c 100644 --- a/docs/preset-env.md +++ b/docs/preset-env.md @@ -418,6 +418,12 @@ The starting point where the config search for browserslist will start, and asce Toggles whether or not [browserslist config sources](https://github.com/ai/browserslist#queries) are used, which includes searching for any browserslist files or referencing the browserslist key inside package.json. This is useful for projects that use a browserslist config for files that won't be compiled with Babel. +### `browserslistEnv` + +`string`, defaults to `"production"` + +The [browserslist environment](https://github.com/browserslist/browserslist#configuring-for-different-environments) to use. + ### `shippedProposals` `boolean`, defaults to `false` From 9fd04db7c645cc3de483e2478a8b2039dd7d93bd Mon Sep 17 00:00:00 2001 From: Andrew Leedham Date: Thu, 16 Apr 2020 21:33:26 +0100 Subject: [PATCH 2/3] docs: update browserslistEnv default --- docs/preset-env.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/preset-env.md b/docs/preset-env.md index 52aaa6863c..bfcbdfb82c 100644 --- a/docs/preset-env.md +++ b/docs/preset-env.md @@ -420,7 +420,7 @@ Toggles whether or not [browserslist config sources](https://github.com/ai/brows ### `browserslistEnv` -`string`, defaults to `"production"` +`string`, defaults to `undefined` The [browserslist environment](https://github.com/browserslist/browserslist#configuring-for-different-environments) to use. From 2c71a2a036b82ed07543d0328b9a963fea142024 Mon Sep 17 00:00:00 2001 From: Andrew Leedham Date: Sat, 18 Apr 2020 03:21:16 +0100 Subject: [PATCH 3/3] docs: capitalise browserslist Co-Authored-By: Brian Ng --- docs/preset-env.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/preset-env.md b/docs/preset-env.md index bfcbdfb82c..8d718f6817 100644 --- a/docs/preset-env.md +++ b/docs/preset-env.md @@ -422,7 +422,7 @@ Toggles whether or not [browserslist config sources](https://github.com/ai/brows `string`, defaults to `undefined` -The [browserslist environment](https://github.com/browserslist/browserslist#configuring-for-different-environments) to use. +The [Browserslist environment](https://github.com/browserslist/browserslist#configuring-for-different-environments) to use. ### `shippedProposals`