From 1fd0bb8012d88c6d517f6aedcafc31f437c13a37 Mon Sep 17 00:00:00 2001 From: Corentin Mors Date: Tue, 20 Apr 2021 14:40:56 +0200 Subject: [PATCH] Detail documentation around polyfill option --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb43958..23581ef 100644 --- a/README.md +++ b/README.md @@ -232,7 +232,7 @@ Use [`sinon-chrome`](https://github.com/acvetkov/sinon-chrome) which supports Ch All options are optional. -- `polyfill`: boolean or string. Default `false`. Generate polyfill related configs. If `true` the `webextension-polyfill` should be installed. You can also provide path to a custom polyfill file. +- `polyfill`: boolean or string. Default `false`. Generate polyfill related configs. If `true` the `webextension-polyfill` should be installed. You can also provide path to a custom polyfill file. If you already import `webextension-polyfill` in your code, you can set this option to false. - `removePolyfillSourcemap`: boolean. Default `true` on production. Remove link to source map in `webextension-polyfill`. - `manifest`: string. Default `'/src/manifest/'`. Extension manifests directory. - This directory should have at least a `[browser].manifest.(json|js)` (e.g. `firefox.manifest.json`). This preset will read the manifest directory to get browser names and generate outputs respectively.