wxt 0.20.22 → 0.20.24

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.
@@ -3,7 +3,7 @@ import { consola as consola$1 } from "consola";
3
3
  import { styleText } from "node:util";
4
4
  //#region src/core/utils/log/printHeader.ts
5
5
  function printHeader() {
6
- consola$1.log(`\n${styleText("gray", "WXT")} ${styleText(["bold", "grey"], version)}`);
6
+ consola$1.log(`\n${styleText("gray", "WXT")} ${styleText(["bold", "gray"], version)}`);
7
7
  }
8
8
  //#endregion
9
9
  export { printHeader };
@@ -139,7 +139,7 @@ function addEntrypoints(manifest, entrypoints, buildOutput) {
139
139
  if (popup.options.browserStyle) options.browser_style = popup.options.browserStyle;
140
140
  if (popup.options.defaultArea) options.default_area = popup.options.defaultArea;
141
141
  if (popup.options.themeIcons) options.theme_icons = popup.options.themeIcons;
142
- const actionKey = manifest.manifest_version === 2 ? popup.options.actionType ?? "browser_action" : wxt.config.browser === "firefox" ? popup.options.actionType ?? "action" : "action";
142
+ const actionKey = manifest.manifest_version === 2 ? popup.options.actionType ?? "browser_action" : wxt.config.browser === "firefox" && popup.options.actionType === "page_action" ? "page_action" : "action";
143
143
  manifest[actionKey] = {
144
144
  ...manifest[actionKey],
145
145
  ...options,
package/dist/version.mjs CHANGED
@@ -1,4 +1,4 @@
1
1
  //#region src/version.ts
2
- const version = "0.20.22";
2
+ const version = "0.20.24";
3
3
  //#endregion
4
4
  export { version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wxt",
3
3
  "type": "module",
4
- "version": "0.20.22",
4
+ "version": "0.20.24",
5
5
  "description": "⚡ Next-gen Web Extension Framework",
6
6
  "license": "MIT",
7
7
  "scripts": {