wxt 0.10.1 → 0.10.2

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.
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "0.10.1";
2
+ var version = "0.10.2";
3
3
 
4
4
  // src/core/utils/entrypoints.ts
5
5
  import path, { relative, resolve } from "node:path";
@@ -749,6 +749,7 @@ async function buildSingleEntrypoint(entrypoint, config) {
749
749
  plugins.push(cssEntrypoints(entrypoint, config));
750
750
  }
751
751
  const libMode = {
752
+ mode: config.mode,
752
753
  plugins,
753
754
  build: {
754
755
  lib: {
@@ -798,6 +799,7 @@ async function buildSingleEntrypoint(entrypoint, config) {
798
799
  }
799
800
  async function buildMultipleEntrypoints(entrypoints, config) {
800
801
  const multiPage = {
802
+ mode: config.mode,
801
803
  plugins: [multipageMove(entrypoints, config)],
802
804
  build: {
803
805
  rollupOptions: {
package/dist/cli.cjs CHANGED
@@ -2415,7 +2415,7 @@ var init_execa = __esm({
2415
2415
  var import_cac = __toESM(require("cac"), 1);
2416
2416
 
2417
2417
  // package.json
2418
- var version = "0.10.1";
2418
+ var version = "0.10.2";
2419
2419
 
2420
2420
  // src/core/utils/building/build-entrypoints.ts
2421
2421
  var vite2 = __toESM(require("vite"), 1);
@@ -3032,6 +3032,7 @@ async function buildSingleEntrypoint(entrypoint, config) {
3032
3032
  plugins.push(cssEntrypoints(entrypoint, config));
3033
3033
  }
3034
3034
  const libMode = {
3035
+ mode: config.mode,
3035
3036
  plugins,
3036
3037
  build: {
3037
3038
  lib: {
@@ -3081,6 +3082,7 @@ async function buildSingleEntrypoint(entrypoint, config) {
3081
3082
  }
3082
3083
  async function buildMultipleEntrypoints(entrypoints, config) {
3083
3084
  const multiPage = {
3085
+ mode: config.mode,
3084
3086
  plugins: [multipageMove(entrypoints, config)],
3085
3087
  build: {
3086
3088
  rollupOptions: {
package/dist/index.cjs CHANGED
@@ -3042,6 +3042,7 @@ async function buildSingleEntrypoint(entrypoint, config) {
3042
3042
  plugins.push(cssEntrypoints(entrypoint, config));
3043
3043
  }
3044
3044
  const libMode = {
3045
+ mode: config.mode,
3045
3046
  plugins,
3046
3047
  build: {
3047
3048
  lib: {
@@ -3091,6 +3092,7 @@ async function buildSingleEntrypoint(entrypoint, config) {
3091
3092
  }
3092
3093
  async function buildMultipleEntrypoints(entrypoints, config) {
3093
3094
  const multiPage = {
3095
+ mode: config.mode,
3094
3096
  plugins: [multipageMove(entrypoints, config)],
3095
3097
  build: {
3096
3098
  rollupOptions: {
@@ -4228,7 +4230,7 @@ function getChunkSortWeight(filename) {
4228
4230
  var import_picocolors3 = __toESM(require("picocolors"), 1);
4229
4231
 
4230
4232
  // package.json
4231
- var version = "0.10.1";
4233
+ var version = "0.10.2";
4232
4234
 
4233
4235
  // src/core/utils/log/printHeader.ts
4234
4236
  var import_consola2 = require("consola");
package/dist/index.d.cts CHANGED
@@ -61,6 +61,6 @@ declare function prepare(config: InlineConfig): Promise<void>;
61
61
  */
62
62
  declare function zip(config?: InlineConfig): Promise<string[]>;
63
63
 
64
- var version = "0.10.1";
64
+ var version = "0.10.2";
65
65
 
66
66
  export { BuildOutput, ExtensionRunnerConfig, InlineConfig, UserConfig, WxtDevServer, build, clean, createServer, defineConfig, defineRunnerConfig, initialize, prepare, version, zip };
package/dist/index.d.ts CHANGED
@@ -61,6 +61,6 @@ declare function prepare(config: InlineConfig): Promise<void>;
61
61
  */
62
62
  declare function zip(config?: InlineConfig): Promise<string[]>;
63
63
 
64
- var version = "0.10.1";
64
+ var version = "0.10.2";
65
65
 
66
66
  export { BuildOutput, ExtensionRunnerConfig, InlineConfig, UserConfig, WxtDevServer, build, clean, createServer, defineConfig, defineRunnerConfig, initialize, prepare, version, zip };
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  rebuild,
16
16
  resolvePerBrowserOption,
17
17
  version
18
- } from "./chunk-U65ZYVCI.js";
18
+ } from "./chunk-6APJQ3J3.js";
19
19
  import "./chunk-YUG22S6W.js";
20
20
 
21
21
  // src/core/build.ts
package/dist/testing.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  unimport,
7
7
  webextensionPolyfillAlias,
8
8
  webextensionPolyfillInlineDeps
9
- } from "./chunk-U65ZYVCI.js";
9
+ } from "./chunk-6APJQ3J3.js";
10
10
  import "./chunk-YUG22S6W.js";
11
11
 
12
12
  // src/testing/fake-browser.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wxt",
3
3
  "type": "module",
4
- "version": "0.10.1",
4
+ "version": "0.10.2",
5
5
  "description": "Next gen framework for developing web extensions",
6
6
  "engines": {
7
7
  "node": ">=18",