Skip to content

Commit 6162d65

Browse files
committed
Document new options
1 parent 5c42111 commit 6162d65

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,25 @@ module.exports = {
110110
}
111111
```
112112

113+
- **api**
114+
- Type: `'chrome'|'browser'`
115+
- Default: `'browser'`
116+
117+
Browser extension API to use.
118+
119+
- **usePolyfill**
120+
- Type: `boolean`
121+
- Default: `true`
122+
123+
Whether to add [webextension-polyfill](https://github.com/mozilla/webextension-polyfill) to polyfill WebExtension APIs in chrome.
124+
125+
- **autoImportPolyfill**
126+
- Type: `boolean`
127+
- Default: `true`
128+
129+
Whether to auto import `webextension-polyfill` using Webpack's [ProvidePlugin](https://webpack.js.org/plugins/provide-plugin/).
130+
131+
113132
## Testing
114133
This library is following the standard styling of vue projects, and those are really the only tests to perform.
115134

0 commit comments

Comments
 (0)