extension-develop 2.1.3 → 3.0.0-next.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (276) hide show
  1. package/README.md +53 -25
  2. package/dist/930.js +44 -0
  3. package/dist/add-centralized-logger-script-background.js +220 -0
  4. package/dist/add-centralized-logger-script-content.js +172 -0
  5. package/dist/add-centralized-logger-script.js +332 -0
  6. package/dist/add-hmr-accept-code.js +5 -11
  7. package/dist/content-script-wrapper.js +166 -0
  8. package/dist/ensure-hmr-for-scripts.js +30 -11
  9. package/dist/minimum-chromium-file.js +6 -20
  10. package/dist/minimum-firefox-file.js +6 -12
  11. package/dist/module.js +11751 -9472
  12. package/dist/resolve-paths-loader.js +1387 -0
  13. package/dist/warn-no-default-export.js +121 -0
  14. package/package.json +21 -35
  15. package/dist/add-content-script-wrapper.js +0 -1789
  16. package/dist/build.d.ts +0 -2
  17. package/dist/cleanup.d.ts +0 -1
  18. package/dist/deprecated-shadow-root.js +0 -135
  19. package/dist/dev.d.ts +0 -2
  20. package/dist/develop-lib/config-types.d.ts +0 -86
  21. package/dist/develop-lib/extract-from-zip.d.ts +0 -1
  22. package/dist/develop-lib/find-nearest-package.d.ts +0 -2
  23. package/dist/develop-lib/generate-extension-types.d.ts +0 -1
  24. package/dist/develop-lib/generate-zip.d.ts +0 -2
  25. package/dist/develop-lib/get-extension-config.d.ts +0 -6
  26. package/dist/develop-lib/get-project-path.d.ts +0 -6
  27. package/dist/develop-lib/install-dependencies.d.ts +0 -2
  28. package/dist/develop-lib/messages.d.ts +0 -36
  29. package/dist/develop-lib/validate-user-dependencies.d.ts +0 -1
  30. package/dist/extensions/chrome-manager-extension/background.js +0 -84
  31. package/dist/extensions/chrome-manager-extension/define-initial-tab.js +0 -77
  32. package/dist/extensions/chrome-manager-extension/images/logo.png +0 -0
  33. package/dist/extensions/chrome-manager-extension/manifest.json +0 -17
  34. package/dist/extensions/chrome-manager-extension/pages/sakura-dark.css +0 -268
  35. package/dist/extensions/chrome-manager-extension/pages/sakura.css +0 -267
  36. package/dist/extensions/chrome-manager-extension/pages/welcome.html +0 -46
  37. package/dist/extensions/chrome-manager-extension/pages/welcome.js +0 -34
  38. package/dist/extensions/chrome-manager-extension/reload-service.js +0 -319
  39. package/dist/extensions/chromium-based-manager-extension/background.js +0 -84
  40. package/dist/extensions/chromium-based-manager-extension/define-initial-tab.js +0 -77
  41. package/dist/extensions/chromium-based-manager-extension/images/logo.png +0 -0
  42. package/dist/extensions/chromium-based-manager-extension/manifest.json +0 -17
  43. package/dist/extensions/chromium-based-manager-extension/pages/sakura-dark.css +0 -268
  44. package/dist/extensions/chromium-based-manager-extension/pages/sakura.css +0 -267
  45. package/dist/extensions/chromium-based-manager-extension/pages/welcome.html +0 -46
  46. package/dist/extensions/chromium-based-manager-extension/pages/welcome.js +0 -34
  47. package/dist/extensions/chromium-based-manager-extension/reload-service.js +0 -324
  48. package/dist/extensions/edge-manager-extension/background.js +0 -82
  49. package/dist/extensions/edge-manager-extension/define-initial-tab.js +0 -77
  50. package/dist/extensions/edge-manager-extension/images/logo.png +0 -0
  51. package/dist/extensions/edge-manager-extension/manifest.json +0 -17
  52. package/dist/extensions/edge-manager-extension/pages/sakura-dark.css +0 -268
  53. package/dist/extensions/edge-manager-extension/pages/sakura.css +0 -267
  54. package/dist/extensions/edge-manager-extension/pages/welcome.html +0 -46
  55. package/dist/extensions/edge-manager-extension/pages/welcome.js +0 -34
  56. package/dist/extensions/edge-manager-extension/reload-service.js +0 -321
  57. package/dist/extensions/firefox-manager-extension/background.js +0 -85
  58. package/dist/extensions/firefox-manager-extension/define-initial-tab.js +0 -64
  59. package/dist/extensions/firefox-manager-extension/images/logo.png +0 -0
  60. package/dist/extensions/firefox-manager-extension/manifest.json +0 -15
  61. package/dist/extensions/firefox-manager-extension/pages/sakura-dark.css +0 -268
  62. package/dist/extensions/firefox-manager-extension/pages/sakura.css +0 -267
  63. package/dist/extensions/firefox-manager-extension/pages/welcome.html +0 -46
  64. package/dist/extensions/firefox-manager-extension/pages/welcome.js +0 -34
  65. package/dist/extensions/firefox-manager-extension/reload-service.js +0 -178
  66. package/dist/extensions/gecko-based-manager-extension/background.js +0 -67
  67. package/dist/extensions/gecko-based-manager-extension/define-initial-tab.js +0 -69
  68. package/dist/extensions/gecko-based-manager-extension/images/logo.png +0 -0
  69. package/dist/extensions/gecko-based-manager-extension/manifest.json +0 -16
  70. package/dist/extensions/gecko-based-manager-extension/pages/sakura-dark.css +0 -268
  71. package/dist/extensions/gecko-based-manager-extension/pages/sakura.css +0 -267
  72. package/dist/extensions/gecko-based-manager-extension/pages/welcome.html +0 -46
  73. package/dist/extensions/gecko-based-manager-extension/pages/welcome.js +0 -34
  74. package/dist/extensions/gecko-based-manager-extension/reload-service.js +0 -171
  75. package/dist/inject-chromium-client-loader.js +0 -176
  76. package/dist/inject-firefox-client-loader.js +0 -169
  77. package/dist/minimum-content-file.js +0 -5
  78. package/dist/module.d.ts +0 -8
  79. package/dist/preview.d.ts +0 -2
  80. package/dist/rslib.config.d.ts +0 -3
  81. package/dist/start.d.ts +0 -2
  82. package/dist/types.d.ts +0 -11
  83. package/dist/vitest.config.d.mts +0 -2
  84. package/dist/webpack/dev-server.d.ts +0 -3
  85. package/dist/webpack/plugin-browsers/browsers-lib/add-progress-bar.d.ts +0 -1
  86. package/dist/webpack/plugin-browsers/browsers-lib/constants.d.ts +0 -5
  87. package/dist/webpack/plugin-browsers/browsers-lib/dynamic-extension-manager.d.ts +0 -35
  88. package/dist/webpack/plugin-browsers/browsers-lib/html-merge.d.ts +0 -1
  89. package/dist/webpack/plugin-browsers/browsers-lib/instance-manager.d.ts +0 -74
  90. package/dist/webpack/plugin-browsers/browsers-lib/messages.d.ts +0 -164
  91. package/dist/webpack/plugin-browsers/browsers-lib/rdp-wire.d.ts +0 -7
  92. package/dist/webpack/plugin-browsers/browsers-lib/shared-utils.d.ts +0 -16
  93. package/dist/webpack/plugin-browsers/browsers-types.d.ts +0 -131
  94. package/dist/webpack/plugin-browsers/index.d.ts +0 -41
  95. package/dist/webpack/plugin-browsers/run-chromium/browser-config.d.ts +0 -3
  96. package/dist/webpack/plugin-browsers/run-chromium/create-profile.d.ts +0 -10
  97. package/dist/webpack/plugin-browsers/run-chromium/index.d.ts +0 -28
  98. package/dist/webpack/plugin-browsers/run-chromium/master-preferences.d.ts +0 -161
  99. package/dist/webpack/plugin-browsers/run-chromium/setup-chrome-inspection/cdp-client.d.ts +0 -29
  100. package/dist/webpack/plugin-browsers/run-chromium/setup-chrome-inspection/index.d.ts +0 -25
  101. package/dist/webpack/plugin-browsers/run-firefox/firefox/binary-detector.d.ts +0 -15
  102. package/dist/webpack/plugin-browsers/run-firefox/firefox/browser-config.d.ts +0 -7
  103. package/dist/webpack/plugin-browsers/run-firefox/firefox/create-profile.d.ts +0 -13
  104. package/dist/webpack/plugin-browsers/run-firefox/firefox/master-preferences.d.ts +0 -95
  105. package/dist/webpack/plugin-browsers/run-firefox/index.d.ts +0 -26
  106. package/dist/webpack/plugin-browsers/run-firefox/remote-firefox/index.d.ts +0 -13
  107. package/dist/webpack/plugin-browsers/run-firefox/remote-firefox/message-utils.d.ts +0 -2
  108. package/dist/webpack/plugin-browsers/run-firefox/remote-firefox/messaging-client.d.ts +0 -42
  109. package/dist/webpack/plugin-browsers/run-firefox/remote-firefox/setup-firefox-inspection.d.ts +0 -31
  110. package/dist/webpack/plugin-compatibility/feature-browser-specific-fields.d.ts +0 -9
  111. package/dist/webpack/plugin-compatibility/feature-polyfill.d.ts +0 -12
  112. package/dist/webpack/plugin-compatibility/index.d.ts +0 -13
  113. package/dist/webpack/plugin-compilation/clean-dist.d.ts +0 -8
  114. package/dist/webpack/plugin-compilation/env.d.ts +0 -9
  115. package/dist/webpack/plugin-compilation/index.d.ts +0 -12
  116. package/dist/webpack/plugin-css/common-style-loaders.d.ts +0 -8
  117. package/dist/webpack/plugin-css/css-in-content-script-loader.d.ts +0 -11
  118. package/dist/webpack/plugin-css/css-in-html-loader.d.ts +0 -8
  119. package/dist/webpack/plugin-css/css-tools/less.d.ts +0 -4
  120. package/dist/webpack/plugin-css/css-tools/postcss.d.ts +0 -3
  121. package/dist/webpack/plugin-css/css-tools/sass.d.ts +0 -4
  122. package/dist/webpack/plugin-css/css-tools/stylelint.d.ts +0 -4
  123. package/dist/webpack/plugin-css/css-tools/tailwind.d.ts +0 -2
  124. package/dist/webpack/plugin-css/index.d.ts +0 -9
  125. package/dist/webpack/plugin-css/is-content-script.d.ts +0 -1
  126. package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/action.d.ts +0 -2
  127. package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/background.d.ts +0 -2
  128. package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/browser_action.d.ts +0 -2
  129. package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/chrome_url_overrides.d.ts +0 -2
  130. package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/devtools_page.d.ts +0 -2
  131. package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/index.d.ts +0 -2
  132. package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/options_ui.d.ts +0 -2
  133. package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/page_action.d.ts +0 -2
  134. package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/sandbox.d.ts +0 -2
  135. package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/side_panel.d.ts +0 -2
  136. package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/sidebar_action.d.ts +0 -2
  137. package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/action.d.ts +0 -2
  138. package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/browser_action.d.ts +0 -2
  139. package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/browser_action.theme_icons.d.ts +0 -2
  140. package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/icons.d.ts +0 -2
  141. package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/index.d.ts +0 -2
  142. package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/normalize.d.ts +0 -6
  143. package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/page_action.d.ts +0 -2
  144. package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/sidebar_action.d.ts +0 -2
  145. package/dist/webpack/plugin-extension/data/manifest-fields/index.d.ts +0 -19
  146. package/dist/webpack/plugin-extension/data/manifest-fields/json-fields/declarative_net_request.d.ts +0 -2
  147. package/dist/webpack/plugin-extension/data/manifest-fields/json-fields/index.d.ts +0 -2
  148. package/dist/webpack/plugin-extension/data/manifest-fields/json-fields/storage.d.ts +0 -2
  149. package/dist/webpack/plugin-extension/data/manifest-fields/locales-fields/index.d.ts +0 -1
  150. package/dist/webpack/plugin-extension/data/manifest-fields/normalize.d.ts +0 -10
  151. package/dist/webpack/plugin-extension/data/manifest-fields/scripts-fields/background.d.ts +0 -2
  152. package/dist/webpack/plugin-extension/data/manifest-fields/scripts-fields/content_scripts.d.ts +0 -2
  153. package/dist/webpack/plugin-extension/data/manifest-fields/scripts-fields/index.d.ts +0 -2
  154. package/dist/webpack/plugin-extension/data/manifest-fields/scripts-fields/service_worker.d.ts +0 -2
  155. package/dist/webpack/plugin-extension/data/manifest-fields/scripts-fields/user_scripts.d.ts +0 -2
  156. package/dist/webpack/plugin-extension/data/manifest-fields/web-resources-fields/index.d.ts +0 -2
  157. package/dist/webpack/plugin-extension/data/special-folders/generate-entries.d.ts +0 -4
  158. package/dist/webpack/plugin-extension/data/special-folders/index.d.ts +0 -12
  159. package/dist/webpack/plugin-extension/feature-html/__spec__/html-lib/test-utils.d.ts +0 -18
  160. package/dist/webpack/plugin-extension/feature-html/html-lib/parse-html.d.ts +0 -8
  161. package/dist/webpack/plugin-extension/feature-html/html-lib/patch-html.d.ts +0 -8
  162. package/dist/webpack/plugin-extension/feature-html/html-lib/utils.d.ts +0 -18
  163. package/dist/webpack/plugin-extension/feature-html/index.d.ts +0 -37
  164. package/dist/webpack/plugin-extension/feature-html/steps/add-assets-to-compilation.d.ts +0 -11
  165. package/dist/webpack/plugin-extension/feature-html/steps/add-scripts-and-styles-to-compilation.d.ts +0 -10
  166. package/dist/webpack/plugin-extension/feature-html/steps/add-to-file-dependencies.d.ts +0 -10
  167. package/dist/webpack/plugin-extension/feature-html/steps/emit-html-file.d.ts +0 -9
  168. package/dist/webpack/plugin-extension/feature-html/steps/ensure-hmr-for-scripts.d.ts +0 -2
  169. package/dist/webpack/plugin-extension/feature-html/steps/handle-common-errors.d.ts +0 -10
  170. package/dist/webpack/plugin-extension/feature-html/steps/minimum-script-file.d.ts +0 -1
  171. package/dist/webpack/plugin-extension/feature-html/steps/throw-if-recompile-is-needed.d.ts +0 -13
  172. package/dist/webpack/plugin-extension/feature-html/steps/update-html-file.d.ts +0 -10
  173. package/dist/webpack/plugin-extension/feature-icons/index.d.ts +0 -25
  174. package/dist/webpack/plugin-extension/feature-icons/steps/add-to-file-dependencies.d.ts +0 -9
  175. package/dist/webpack/plugin-extension/feature-icons/steps/emit-file.d.ts +0 -9
  176. package/dist/webpack/plugin-extension/feature-json/index.d.ts +0 -18
  177. package/dist/webpack/plugin-extension/feature-locales/get-locales.d.ts +0 -1
  178. package/dist/webpack/plugin-extension/feature-locales/index.d.ts +0 -13
  179. package/dist/webpack/plugin-extension/feature-manifest/index.d.ts +0 -23
  180. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/background.d.ts +0 -10
  181. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/chrome_url_overrides.d.ts +0 -8
  182. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/commands.d.ts +0 -16
  183. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/content_scripts.d.ts +0 -7
  184. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/content_security_policy.d.ts +0 -4
  185. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/devtools_page.d.ts +0 -4
  186. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/icons.d.ts +0 -6
  187. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/index.d.ts +0 -2
  188. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/omnibox.d.ts +0 -2
  189. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/options_page.d.ts +0 -4
  190. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/options_ui.d.ts +0 -8
  191. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/page_action.d.ts +0 -8
  192. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/permissions.d.ts +0 -4
  193. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/sandbox.d.ts +0 -7
  194. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/sidebar_action.d.ts +0 -2
  195. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/storage.d.ts +0 -6
  196. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/theme.d.ts +0 -2
  197. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/user_scripts.d.ts +0 -2
  198. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/web_accessible_resources.d.ts +0 -9
  199. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/index.d.ts +0 -2
  200. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/background.d.ts +0 -10
  201. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/browser_action.d.ts +0 -12
  202. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/chrome_settings_overrides.d.ts +0 -24
  203. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/index.d.ts +0 -2
  204. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/page_action.d.ts +0 -1
  205. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/sidebar_action.d.ts +0 -1
  206. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/theme_experiment.d.ts +0 -2
  207. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv3/action.d.ts +0 -8
  208. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv3/background.d.ts +0 -10
  209. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv3/declarative_net_request.d.ts +0 -2
  210. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv3/host_permissions.d.ts +0 -2
  211. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv3/index.d.ts +0 -2
  212. package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv3/side_panel.d.ts +0 -2
  213. package/dist/webpack/plugin-extension/feature-manifest/steps/add-dependencies.d.ts +0 -6
  214. package/dist/webpack/plugin-extension/feature-manifest/steps/check-manifest-files.d.ts +0 -17
  215. package/dist/webpack/plugin-extension/feature-manifest/steps/emit-manifest.d.ts +0 -7
  216. package/dist/webpack/plugin-extension/feature-manifest/steps/throw-if-recompile.d.ts +0 -11
  217. package/dist/webpack/plugin-extension/feature-manifest/steps/update-manifest.d.ts +0 -9
  218. package/dist/webpack/plugin-extension/feature-scripts/index.d.ts +0 -27
  219. package/dist/webpack/plugin-extension/feature-scripts/scripts-lib/utils.d.ts +0 -3
  220. package/dist/webpack/plugin-extension/feature-scripts/steps/add-content-script-wrapper.d.ts +0 -2
  221. package/dist/webpack/plugin-extension/feature-scripts/steps/add-hmr-accept-code.d.ts +0 -2
  222. package/dist/webpack/plugin-extension/feature-scripts/steps/add-public-path-for-main-world.d.ts +0 -11
  223. package/dist/webpack/plugin-extension/feature-scripts/steps/add-public-path-runtime-module.d.ts +0 -4
  224. package/dist/webpack/plugin-extension/feature-scripts/steps/add-scripts.d.ts +0 -9
  225. package/dist/webpack/plugin-extension/feature-scripts/steps/deprecated-shadow-root.d.ts +0 -2
  226. package/dist/webpack/plugin-extension/feature-scripts/steps/javascript-content-script-wrapper.d.ts +0 -1
  227. package/dist/webpack/plugin-extension/feature-scripts/steps/minimum-content-file.d.ts +0 -0
  228. package/dist/webpack/plugin-extension/feature-scripts/steps/preact-content-script-wrapper.d.ts +0 -1
  229. package/dist/webpack/plugin-extension/feature-scripts/steps/react-content-script-wrapper.d.ts +0 -1
  230. package/dist/webpack/plugin-extension/feature-scripts/steps/svelte-content-script-wrapper.d.ts +0 -1
  231. package/dist/webpack/plugin-extension/feature-scripts/steps/typescript-content-script-wrapper.d.ts +0 -1
  232. package/dist/webpack/plugin-extension/feature-scripts/steps/vue-content-script-wrapper.d.ts +0 -1
  233. package/dist/webpack/plugin-extension/feature-special-folders/copy-public-folder.d.ts +0 -14
  234. package/dist/webpack/plugin-extension/feature-special-folders/index.d.ts +0 -19
  235. package/dist/webpack/plugin-extension/feature-special-folders/warn-upon-folder-changes.d.ts +0 -7
  236. package/dist/webpack/plugin-extension/feature-web-resources/clean-matches.d.ts +0 -7
  237. package/dist/webpack/plugin-extension/feature-web-resources/index.d.ts +0 -18
  238. package/dist/webpack/plugin-extension/index.d.ts +0 -10
  239. package/dist/webpack/plugin-js-frameworks/index.d.ts +0 -13
  240. package/dist/webpack/plugin-js-frameworks/js-tools/babel.d.ts +0 -16
  241. package/dist/webpack/plugin-js-frameworks/js-tools/preact.d.ts +0 -3
  242. package/dist/webpack/plugin-js-frameworks/js-tools/react.d.ts +0 -3
  243. package/dist/webpack/plugin-js-frameworks/js-tools/svelte.d.ts +0 -3
  244. package/dist/webpack/plugin-js-frameworks/js-tools/typescript.d.ts +0 -36
  245. package/dist/webpack/plugin-js-frameworks/js-tools/vue.d.ts +0 -3
  246. package/dist/webpack/plugin-js-frameworks/load-loader-options.d.ts +0 -1
  247. package/dist/webpack/plugin-reload/index.d.ts +0 -13
  248. package/dist/webpack/plugin-reload/reload-lib/messages.d.ts +0 -106
  249. package/dist/webpack/plugin-reload/reload-types.d.ts +0 -14
  250. package/dist/webpack/plugin-reload/start-server.d.ts +0 -4
  251. package/dist/webpack/plugin-reload/steps/create-web-socket-server/index.d.ts +0 -14
  252. package/dist/webpack/plugin-reload/steps/create-web-socket-server/web-socket-server/broadcast-message.d.ts +0 -2
  253. package/dist/webpack/plugin-reload/steps/create-web-socket-server/web-socket-server/message-dispatcher.d.ts +0 -2
  254. package/dist/webpack/plugin-reload/steps/create-web-socket-server/web-socket-server/servers.d.ts +0 -2
  255. package/dist/webpack/plugin-reload/steps/setup-chromium-reload-client/index.d.ts +0 -3
  256. package/dist/webpack/plugin-reload/steps/setup-chromium-reload-client/inject-chromium-client-loader.d.ts +0 -9
  257. package/dist/webpack/plugin-reload/steps/setup-chromium-reload-client/minimum-chromium-file.d.ts +0 -0
  258. package/dist/webpack/plugin-reload/steps/setup-firefox-reload-client/index.d.ts +0 -3
  259. package/dist/webpack/plugin-reload/steps/setup-firefox-reload-client/inject-firefox-client-loader.d.ts +0 -9
  260. package/dist/webpack/plugin-reload/steps/setup-firefox-reload-client/minimum-firefox-file.d.ts +0 -0
  261. package/dist/webpack/plugin-reload/steps/setup-reload-strategy/apply-manifest-dev-defaults/index.d.ts +0 -9
  262. package/dist/webpack/plugin-reload/steps/setup-reload-strategy/apply-manifest-dev-defaults/patch-background.d.ts +0 -15
  263. package/dist/webpack/plugin-reload/steps/setup-reload-strategy/apply-manifest-dev-defaults/patch-csp.d.ts +0 -5
  264. package/dist/webpack/plugin-reload/steps/setup-reload-strategy/apply-manifest-dev-defaults/patch-externally-connectable.d.ts +0 -10
  265. package/dist/webpack/plugin-reload/steps/setup-reload-strategy/apply-manifest-dev-defaults/patch-web-resources.d.ts +0 -10
  266. package/dist/webpack/plugin-reload/steps/setup-reload-strategy/generate-manager-extension.d.ts +0 -15
  267. package/dist/webpack/plugin-reload/steps/setup-reload-strategy/index.d.ts +0 -10
  268. package/dist/webpack/plugin-reload/steps/setup-reload-strategy/target-web-extension-plugin/index.d.ts +0 -13
  269. package/dist/webpack/plugin-static-assets/index.d.ts +0 -12
  270. package/dist/webpack/webpack-config.d.ts +0 -14
  271. package/dist/webpack/webpack-lib/auto-exit.d.ts +0 -1
  272. package/dist/webpack/webpack-lib/constants.d.ts +0 -4
  273. package/dist/webpack/webpack-lib/messages.d.ts +0 -121
  274. package/dist/webpack/webpack-lib/port-manager.d.ts +0 -27
  275. package/dist/webpack/webpack-lib/utils.d.ts +0 -23
  276. package/dist/webpack/webpack-types.d.ts +0 -49
@@ -1,4 +0,0 @@
1
- export declare function isUsingLess(projectPath: string): boolean;
2
- type Loader = Record<string, any>;
3
- export declare function maybeUseLess(projectPath: string): Promise<Loader[]>;
4
- export {};
@@ -1,3 +0,0 @@
1
- import type { StyleLoaderOptions } from '../common-style-loaders';
2
- export declare function isUsingPostCss(projectPath: string): boolean;
3
- export declare function maybeUsePostCss(projectPath: string, opts: StyleLoaderOptions): Promise<Record<string, any>>;
@@ -1,4 +0,0 @@
1
- export declare function isUsingSass(projectPath: string): boolean;
2
- type Loader = Record<string, any>;
3
- export declare function maybeUseSass(projectPath: string): Promise<Loader[]>;
4
- export {};
@@ -1,4 +0,0 @@
1
- import { type RspackPluginInstance } from '@rspack/core';
2
- export declare function getStylelintConfigFile(projectPath: string): string | undefined;
3
- export declare function isUsingStylelint(projectPath: string): boolean;
4
- export declare function maybeUseStylelint(projectPath: string): Promise<RspackPluginInstance[]>;
@@ -1,2 +0,0 @@
1
- export declare function isUsingTailwind(projectPath: string): boolean;
2
- export declare function getTailwindConfigFile(projectPath: string): string | undefined;
@@ -1,9 +0,0 @@
1
- import { type Compiler } from '@rspack/core';
2
- import { PluginInterface } from '../webpack-types';
3
- export declare class CssPlugin {
4
- static readonly name: string;
5
- readonly manifestPath: string;
6
- constructor(options: PluginInterface);
7
- private configureOptions;
8
- apply(compiler: Compiler): Promise<void>;
9
- }
@@ -1 +0,0 @@
1
- export declare function isContentScriptEntry(absolutePath: string, manifestPath: string): boolean;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function action(context: string, manifest: Manifest): string | undefined;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function background(context: string, manifest: Manifest): string | undefined;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function browserAction(context: string, manifest: Manifest): string | undefined;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function chromeUrlOverrides(context: string, manifest: Manifest): Record<string, Manifest | undefined>;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function devtoolsPage(context: string, manifest: Manifest): string | undefined;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function htmlFields(context: string, manifest: Manifest): Record<string, string | undefined>;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function optionsUi(context: string, manifest: Manifest): string | undefined;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function pageAction(context: string, manifest: Manifest): string | undefined;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function sandbox(context: string, manifest: Manifest): Record<string, string | undefined>;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function sidePanel(context: string, manifest: Manifest): string | undefined;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function sidebarAction(context: string, manifest: Manifest): string | undefined;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function action(context: string, manifest: Manifest): string | string[] | undefined;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function browserAction(context: string, manifest: Manifest): string | string[] | undefined;
@@ -1,2 +0,0 @@
1
- import { ThemeIcon, type Manifest } from '../../../../webpack-types';
2
- export declare function browserActionThemeIcons(context: string, manifest: Manifest): ThemeIcon[] | undefined;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function icons(context: string, manifest: Manifest): string[] | undefined;
@@ -1,2 +0,0 @@
1
- import { type Manifest, type ThemeIcon } from '../../../../webpack-types';
2
- export declare function iconFields(context: string, manifest: Manifest): Record<string, string | string[] | ThemeIcon[] | undefined>;
@@ -1,6 +0,0 @@
1
- /**
2
- * Normalize a manifest-declared icon path so that leading "public/" segments
3
- * are removed. This allows users on Windows who may specify "./public/..."
4
- * to work consistently on macOS/Linux where the public folder resolves to "/".
5
- */
6
- export declare function resolveIconPath(context: string, relativePath: string): string;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function pageAction(context: string, manifest: Manifest): string | string[] | undefined;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function sidebarAction(context: string, manifest: Manifest): string | undefined;
@@ -1,19 +0,0 @@
1
- import { type PluginInterface } from '../../../webpack-types';
2
- export interface ManifestFields {
3
- html: Record<string, any>;
4
- icons: Record<string, any>;
5
- json: Record<string, any>;
6
- scripts: Record<string, any>;
7
- web_accessible_resources: Record<string, any>;
8
- }
9
- export declare function getManifestFieldsData({ manifestPath, browser }: PluginInterface): {
10
- html: Record<string, string | undefined>;
11
- icons: Record<string, string | string[] | import("../../../webpack-types").ThemeIcon[] | undefined>;
12
- json: Record<string, string | undefined>;
13
- locales: string[] | undefined;
14
- scripts: Record<string, string | string[] | undefined>;
15
- web_accessible_resources: (string[] & {
16
- resources: string[];
17
- matches: string[];
18
- }[]) | undefined;
19
- };
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function declarativeNetRequest(context: string, manifest: Manifest): Record<string, string | undefined>;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function jsonFields(context: string, manifest: Manifest): Record<string, string | undefined>;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function storage(context: string, manifest: Manifest): string | undefined;
@@ -1 +0,0 @@
1
- export declare function localesFields(context: string, manifestPath: string): string[] | undefined;
@@ -1,10 +0,0 @@
1
- /**
2
- * Resolve a manifest-declared path to an absolute filesystem path.
3
- * Handles public-root style inputs consistently across OS/runners:
4
- * - '/foo' => '<context>/public/foo'
5
- * - '/public/foo' => '<context>/public/foo'
6
- * - 'public/foo' => '<context>/public/foo'
7
- * - './public/foo' => '<context>/public/foo'
8
- * - 'foo/bar' => '<context>/foo/bar'
9
- */
10
- export declare function resolveManifestPath(context: string, relativePath: string): string;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function backgroundScripts(context: string, manifest: Manifest): string[] | undefined;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function contentScripts(context: string, manifest: Manifest): Record<string, string[] | undefined>;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function scriptsFields(context: string, manifest: Manifest): Record<string, string | string[] | undefined>;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function serviceWorker(context: string, manifest: Manifest): string | undefined;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function userScripts(context: string, manifest: Manifest): string | undefined;
@@ -1,2 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function webResourcesFields(manifest: Manifest): Manifest['web_accessible_resources'] | undefined;
@@ -1,4 +0,0 @@
1
- export declare function scanFilesInFolder(dirPath: string, filter: (name: string) => boolean): string[];
2
- type IncludeList = Record<string, string>;
3
- export declare function generateEntries(projectPath: string, includes: string[] | undefined, folderName?: string): IncludeList;
4
- export {};
@@ -1,12 +0,0 @@
1
- import { PluginInterface } from '../../../webpack-types';
2
- export declare function getSpecialFoldersData({ manifestPath }: PluginInterface): {
3
- public: {
4
- [x: string]: string;
5
- };
6
- pages: {
7
- [x: string]: string;
8
- };
9
- scripts: {
10
- [x: string]: string;
11
- };
12
- };
@@ -1,18 +0,0 @@
1
- export interface HtmlNode {
2
- nodeName: string;
3
- attrs: Array<{
4
- name: string;
5
- value: string;
6
- }>;
7
- childNodes: HtmlNode[];
8
- value?: string;
9
- data?: string;
10
- }
11
- export declare function createHtmlNode(options: Partial<HtmlNode>): HtmlNode;
12
- export declare function createHtmlDocument(childNodes: HtmlNode[]): HtmlNode;
13
- export declare function createScriptNode(src: string): HtmlNode;
14
- export declare function createLinkNode(href: string, rel?: string): HtmlNode;
15
- export declare function createImageNode(src: string): HtmlNode;
16
- export declare function createAnchorNode(href: string): HtmlNode;
17
- export declare function createCommentNode(text: string): HtmlNode;
18
- export declare function createTextNode(text: string): HtmlNode;
@@ -1,8 +0,0 @@
1
- import * as parse5utilities from 'parse5-utilities';
2
- interface OnResourceFoundOptions {
3
- filePath: string;
4
- childNode: ReturnType<typeof parse5utilities.createNode>;
5
- assetType: 'script' | 'css' | 'staticSrc' | 'staticHref';
6
- }
7
- export declare function parseHtml(node: ReturnType<typeof parse5utilities.createNode>, onResourceFound: (options: OnResourceFoundOptions) => void): void;
8
- export {};
@@ -1,8 +0,0 @@
1
- import { type Compilation } from '@rspack/core';
2
- import { type FilepathList } from '../../../webpack-types';
3
- export declare function patchHtml(compilation: Compilation, feature: string, htmlEntry: string, includeList: FilepathList, excludeList: FilepathList): string;
4
- /**
5
- * Patches a nested HTML: preserve original script/link tags,
6
- * only rewrite static assets, and warn about missing public-root assets.
7
- */
8
- export declare function patchHtmlNested(compilation: Compilation, htmlEntry: string, excludeList: FilepathList): string;
@@ -1,18 +0,0 @@
1
- import { type FilepathList } from '../../../webpack-types';
2
- export interface ParsedHtmlAsset {
3
- css?: string[];
4
- js?: string[];
5
- static?: string[];
6
- }
7
- export declare function getAssetsFromHtml(htmlFilePath: string | undefined, htmlContent?: string, publicPath?: string): ParsedHtmlAsset;
8
- export declare function getHtmlPageDeclaredAssetPath(filepathList: FilepathList, filePath: string, extension: string): string;
9
- export declare function getExtname(filePath: string): string;
10
- export declare function getFilePath(filePath: string, extension: string, isPublic: boolean): string;
11
- export declare function isFromIncludeList(filePath: string, includeList?: FilepathList): boolean;
12
- export declare function isUrl(src: string): boolean;
13
- export declare function cleanAssetUrl(url: string): {
14
- cleanPath: string;
15
- hash: string;
16
- search: string;
17
- };
18
- export declare function getBaseHref(htmlDocument: any): string | undefined;
@@ -1,37 +0,0 @@
1
- import { type Compiler } from '@rspack/core';
2
- import { type FilepathList, type PluginInterface } from '../../webpack-types';
3
- /**
4
- * HtmlPlugin is responsible for handling the HTML file
5
- * defined in the manifest.json. Static assets and CSS files
6
- * within the HTML file are added to the compilation. JS files
7
- * are added as webpack entrypoints. It also supports ecxtra
8
- * html files defined via this.include option. These extra
9
- * html files are added to the compilation and are also HMR
10
- * enabled. They are useful for adding extra pages to the
11
- * extension runtime that are not defined in manifest.
12
- *
13
- * The plugin also has a guard against recompiling entrypoints
14
- * at runtime, throwing an error if any of those files change.
15
- *
16
- * Features supported:
17
- * action.default_popup - HMR enabled
18
- * background.page - HMR enabled
19
- * chrome_settings_overrides.homepage - HMR enabled
20
- * chrome_url_overrides.newtab - HMR enabled
21
- * chrome_url_overrides.history - HMR enabled
22
- * chrome_url_overrides.bookmarks - HMR enabled
23
- * devtools_page - HMR enabled
24
- * options_ui.page - HMR enabled
25
- * page_action.default_popup - HMR enabled
26
- * sandbox.page - HMR enabled
27
- * side_panel.default_panel - HMR enabled
28
- * sidebar_action.default_panel - HMR enabled
29
- */
30
- export declare class HtmlPlugin {
31
- readonly manifestPath: string;
32
- readonly includeList?: FilepathList;
33
- readonly excludeList?: FilepathList;
34
- private readonly browser;
35
- constructor(options: PluginInterface);
36
- apply(compiler: Compiler): void;
37
- }
@@ -1,11 +0,0 @@
1
- import { type Compiler } from '@rspack/core';
2
- import { type FilepathList, type PluginInterface } from '../../../webpack-types';
3
- export declare class AddAssetsToCompilation {
4
- readonly manifestPath: string;
5
- readonly includeList?: FilepathList;
6
- readonly excludeList?: FilepathList;
7
- readonly browser?: string;
8
- constructor(options: PluginInterface);
9
- private normalizePublicPath;
10
- apply(compiler: Compiler): void;
11
- }
@@ -1,10 +0,0 @@
1
- import { type Compiler } from '@rspack/core';
2
- import { type FilepathList, type PluginInterface } from '../../../webpack-types';
3
- export declare class AddScriptsAndStylesToCompilation {
4
- readonly manifestPath: string;
5
- readonly includeList?: FilepathList;
6
- readonly excludeList?: FilepathList;
7
- readonly browser?: string;
8
- constructor(options: PluginInterface);
9
- apply(compiler: Compiler): void;
10
- }
@@ -1,10 +0,0 @@
1
- import { type Compiler } from '@rspack/core';
2
- import { type FilepathList, type PluginInterface } from '../../../webpack-types';
3
- export declare class AddToFileDependencies {
4
- readonly manifestPath: string;
5
- readonly includeList?: FilepathList;
6
- readonly excludeList?: FilepathList;
7
- readonly browser?: string;
8
- constructor(options: PluginInterface);
9
- apply(compiler: Compiler): void;
10
- }
@@ -1,9 +0,0 @@
1
- import { type Compiler } from '@rspack/core';
2
- import { type FilepathList, type PluginInterface } from '../../../webpack-types';
3
- export declare class EmitHtmlFile {
4
- readonly manifestPath: string;
5
- readonly includeList?: FilepathList;
6
- readonly excludeList?: FilepathList;
7
- constructor(options: PluginInterface);
8
- apply(compiler: Compiler): void;
9
- }
@@ -1,2 +0,0 @@
1
- import { LoaderInterface } from '../../../webpack-types';
2
- export default function ensureHMRForScripts(this: LoaderInterface, source: string): string;
@@ -1,10 +0,0 @@
1
- import { type Compiler } from '@rspack/core';
2
- import { type FilepathList, type PluginInterface } from '../../../webpack-types';
3
- export declare class HandleCommonErrors {
4
- readonly manifestPath: string;
5
- readonly includeList?: FilepathList;
6
- readonly excludeList?: FilepathList;
7
- readonly browser?: string;
8
- constructor(options: PluginInterface);
9
- apply(compiler: Compiler): void;
10
- }
@@ -1 +0,0 @@
1
- /** Nothing to see here. */
@@ -1,13 +0,0 @@
1
- import { type Compiler } from '@rspack/core';
2
- import { type FilepathList, type PluginInterface } from '../../../webpack-types';
3
- export declare class ThrowIfRecompileIsNeeded {
4
- readonly manifestPath: string;
5
- readonly includeList?: FilepathList;
6
- readonly excludeList?: FilepathList;
7
- readonly browser?: string;
8
- private initialHtmlAssets;
9
- constructor(options: PluginInterface);
10
- private hasEntriesChanged;
11
- private storeInitialHtmlAssets;
12
- apply(compiler: Compiler): void;
13
- }
@@ -1,10 +0,0 @@
1
- import { type Compiler } from '@rspack/core';
2
- import { type FilepathList, type PluginInterface } from '../../../webpack-types';
3
- export declare class UpdateHtmlFile {
4
- readonly manifestPath: string;
5
- readonly includeList?: FilepathList;
6
- readonly excludeList?: FilepathList;
7
- readonly browser?: string;
8
- constructor(options: PluginInterface);
9
- apply(compiler: Compiler): void;
10
- }
@@ -1,25 +0,0 @@
1
- import { type Compiler } from '@rspack/core';
2
- import { ThemeIcon, type FilepathList, type PluginInterface } from '../../webpack-types';
3
- /**
4
- * IconsPlugin is responsible for handling the icon files defined
5
- * in the manifest.json. It emits the icon files to the output
6
- * directory and adds them to the file dependencies of the compilation.
7
- *
8
- * Features supported:
9
- * action.default_icon
10
- * browser_action.default_icon
11
- * icons
12
- * page_action.default_icon
13
- * sidebar_action.default_icon
14
- */
15
- export declare class IconsPlugin {
16
- readonly manifestPath: string;
17
- readonly includeList?: FilepathList | {
18
- [x: string]: ThemeIcon;
19
- };
20
- readonly excludeList?: FilepathList | {
21
- [x: string]: ThemeIcon;
22
- };
23
- constructor(options: PluginInterface);
24
- apply(compiler: Compiler): void;
25
- }
@@ -1,9 +0,0 @@
1
- import { type Compiler } from '@rspack/core';
2
- import { type FilepathList, type PluginInterface } from '../../../webpack-types';
3
- export declare class AddToFileDependencies {
4
- readonly manifestPath: string;
5
- readonly includeList?: FilepathList;
6
- readonly excludeList?: FilepathList;
7
- constructor(options: PluginInterface);
8
- apply(compiler: Compiler): void;
9
- }
@@ -1,9 +0,0 @@
1
- import { Compiler } from '@rspack/core';
2
- import { type FilepathList, type PluginInterface } from '../../../webpack-types';
3
- export declare class EmitFile {
4
- readonly manifestPath: string;
5
- readonly includeList?: FilepathList;
6
- readonly excludeList?: FilepathList;
7
- constructor(options: PluginInterface);
8
- apply(compiler: Compiler): void;
9
- }
@@ -1,18 +0,0 @@
1
- import { Compiler } from '@rspack/core';
2
- import { type FilepathList, type PluginInterface } from '../../webpack-types';
3
- /**
4
- * JsonPlugin is responsible for handling the JSON files defined
5
- * in the manifest.json. It emits the JSON files to the output
6
- * directory and adds them to the file dependencies of the compilation.
7
- *
8
- * Features supported:
9
- * - declarative_net_request.ruleset
10
- * - storage.managed_schema
11
- */
12
- export declare class JsonPlugin {
13
- readonly manifestPath: string;
14
- readonly includeList?: FilepathList;
15
- readonly excludeList?: FilepathList;
16
- constructor(options: PluginInterface);
17
- apply(compiler: Compiler): void;
18
- }
@@ -1 +0,0 @@
1
- export declare function getLocales(manifestPath: string): string[] | undefined;
@@ -1,13 +0,0 @@
1
- import { Compiler } from '@rspack/core';
2
- import { type FilepathList, type PluginInterface } from '../../webpack-types';
3
- /**
4
- * LocalesPlugin is responsible for emitting the locales files
5
- * to the output directory.
6
- */
7
- export declare class LocalesPlugin {
8
- readonly manifestPath: string;
9
- readonly includeList?: FilepathList;
10
- readonly excludeList?: FilepathList;
11
- constructor(options: PluginInterface);
12
- apply(compiler: Compiler): void;
13
- }
@@ -1,23 +0,0 @@
1
- import { Compiler } from '@rspack/core';
2
- import { type FilepathList, type PluginInterface } from '../../webpack-types';
3
- import { DevOptions } from '../../../develop-lib/config-types';
4
- /**
5
- * ManifestPlugin is responsible for handling the manifest.json file.
6
- * It ensures that the files defined in the manifest have valid paths,
7
- * throwing errors if they don't. It also ensures the manifest is emitted
8
- * to the assets bundle, so other plugins can modify it, and stored
9
- * as file dependency so webpack can watch and trigger changes.
10
- *
11
- * The plugin also has a guard against recompiling entrypoints
12
- * at runtime, throwing an error if any of those files change.
13
- */
14
- export declare class ManifestPlugin {
15
- readonly manifestPath: string;
16
- readonly browser: DevOptions['browser'];
17
- readonly includeList?: FilepathList;
18
- readonly excludeList?: FilepathList;
19
- constructor(options: PluginInterface & {
20
- browser: DevOptions['browser'];
21
- });
22
- apply(compiler: Compiler): void;
23
- }
@@ -1,10 +0,0 @@
1
- import { type Manifest, type FilepathList } from '../../../../webpack-types';
2
- export declare function backgroundPage(manifest: Manifest, excludeList: FilepathList): "" | {
3
- background: {
4
- page?: string | undefined;
5
- scripts?: string[] | undefined;
6
- persistent?: boolean | undefined;
7
- service_worker: string;
8
- type?: "module";
9
- };
10
- } | undefined;
@@ -1,8 +0,0 @@
1
- import { type Manifest, type FilepathList } from '../../../../webpack-types';
2
- export declare function chromeUrlOverrides(manifest: Manifest, excludeList: FilepathList): {
3
- chrome_url_overrides: {
4
- newtab?: string | undefined;
5
- history?: string | undefined;
6
- bookmarks?: string | undefined;
7
- };
8
- } | undefined;
@@ -1,16 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function commands(manifest: Manifest): {
3
- commands: {
4
- [name: string]: {
5
- suggested_key?: {
6
- default?: string | undefined;
7
- windows?: string | undefined;
8
- mac?: string | undefined;
9
- chromeos?: string | undefined;
10
- linux?: string | undefined;
11
- } | undefined;
12
- description?: string | undefined;
13
- global?: boolean | undefined;
14
- };
15
- };
16
- } | undefined;
@@ -1,7 +0,0 @@
1
- import { type Manifest, type FilepathList } from '../../../../webpack-types';
2
- export declare function contentScripts(manifest: Manifest, excludeList: FilepathList): {
3
- content_scripts: {
4
- js: string[];
5
- css: string[];
6
- }[];
7
- } | undefined;
@@ -1,4 +0,0 @@
1
- import { type Manifest } from '../../../../webpack-types';
2
- export declare function contentSecurityPolicy(manifest: Manifest): {
3
- content_security_policy: unknown;
4
- } | undefined;
@@ -1,4 +0,0 @@
1
- import { type Manifest, type FilepathList } from '../../../../webpack-types';
2
- export declare function devtoolsPage(manifest: Manifest, excludeList: FilepathList): "" | {
3
- devtools_page: string;
4
- } | undefined;
@@ -1,6 +0,0 @@
1
- import { type Manifest, type FilepathList } from '../../../../webpack-types';
2
- export declare function icons(manifest: Manifest, excludeList: FilepathList): {
3
- icons: {
4
- [k: string]: string;
5
- };
6
- } | undefined;
@@ -1,2 +0,0 @@
1
- import { type Manifest, type FilepathList } from '../../../../webpack-types';
2
- export declare function manifestCommon(manifest: Manifest, excludeList: FilepathList): any;
@@ -1,2 +0,0 @@
1
- import { type Manifest, type FilepathList } from '../../../../webpack-types';
2
- export declare function omnibox(manifest: Manifest, excludeList: FilepathList): any;
@@ -1,4 +0,0 @@
1
- import { type Manifest, type FilepathList } from '../../../../webpack-types';
2
- export declare function optionsPage(manifest: Manifest, excludeList: FilepathList): "" | {
3
- options_page: string;
4
- } | undefined;