You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-10Lines changed: 16 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,24 +116,30 @@ module.exports = {
116
116
117
117
See [Component options](#component-options).
118
118
119
-
-**manifestSync**
120
-
- Type: `Array<string>`
119
+
-**manifestSync**
120
+
- Type: `Array<string>`
121
121
- Default: `['version']`
122
-
122
+
123
123
Array containing names of `manifest.json` keys that will be automatically synced with `package.json` on build.
124
124
125
125
Currently, the only supported keys are `version` and `description`.
126
126
127
-
-**api**
127
+
-**modesToZip**
128
+
- Type: `Array<string>`
129
+
- Default: `['production']`
130
+
131
+
Array containing names of mode in which zipping up will trigger after build.
132
+
133
+
-**api**
128
134
- Type: `'chrome'|'browser'`
129
135
- Default: `'browser'`
130
-
136
+
131
137
Browser extension API to use.
132
138
133
139
-**usePolyfill**
134
140
- Type: `boolean`
135
141
- Default: `true`
136
-
142
+
137
143
Whether to add [webextension-polyfill](https://github.com/mozilla/webextension-polyfill) to polyfill WebExtension APIs in chrome.
138
144
139
145
-**autoImportPolyfill**
@@ -168,9 +174,9 @@ module.exports = {
168
174
169
175
#### background
170
176
171
-
-**entry**
177
+
-**entry**
172
178
- Type: `string|Array<string>`
173
-
179
+
174
180
Background script as webpack entry using the [single entry shorthand syntax](https://webpack.js.org/concepts/entry-points/#single-entry-shorthand-syntax).
0 commit comments