wxt 0.16.8-alpha2 → 0.16.8

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.16.8-alpha2";
2
+ var version = "0.16.8";
3
3
 
4
4
  // src/core/utils/paths.ts
5
5
  import systemPath from "node:path";
package/dist/cli.js CHANGED
@@ -2152,7 +2152,7 @@ function getChunkSortWeight(filename) {
2152
2152
  import pc4 from "picocolors";
2153
2153
 
2154
2154
  // package.json
2155
- var version = "0.16.8-alpha2";
2155
+ var version = "0.16.8";
2156
2156
 
2157
2157
  // src/core/utils/log/printHeader.ts
2158
2158
  import { consola as consola2 } from "consola";
@@ -3128,9 +3128,7 @@ async function createServer(inlineConfig) {
3128
3128
  const buildAndOpenBrowser = async () => {
3129
3129
  server.currentOutput = await internalBuild();
3130
3130
  try {
3131
- const files = getExternalOutputDependencies(server);
3132
- console.log("Additional files:", files);
3133
- server.watcher.add(files);
3131
+ server.watcher.add(getExternalOutputDependencies(server));
3134
3132
  } catch (err) {
3135
3133
  wxt.config.logger.warn("Failed to register additional file paths:", err);
3136
3134
  }
@@ -3308,7 +3306,7 @@ function getFilenameList(names) {
3308
3306
  }).join(pc7.dim(", "));
3309
3307
  }
3310
3308
  function getExternalOutputDependencies(server) {
3311
- const additionalFiles = server.currentOutput?.steps.flatMap((step, i) => {
3309
+ return server.currentOutput?.steps.flatMap((step, i) => {
3312
3310
  if (Array.isArray(step.entrypoints) && i === 0) {
3313
3311
  return [];
3314
3312
  }
@@ -3319,8 +3317,7 @@ function getExternalOutputDependencies(server) {
3319
3317
  });
3320
3318
  }).filter(
3321
3319
  (file) => !file.includes("node_modules") && !file.startsWith("\0")
3322
- ).map(unnormalizePath).filter((file) => !file.startsWith(wxt.config.root));
3323
- return additionalFiles ?? [];
3320
+ ).map(unnormalizePath).filter((file) => !file.startsWith(wxt.config.root)) ?? [];
3324
3321
  }
3325
3322
 
3326
3323
  // src/core/initialize.ts
package/dist/index.cjs CHANGED
@@ -4579,7 +4579,7 @@ function getChunkSortWeight(filename) {
4579
4579
  var import_picocolors4 = __toESM(require("picocolors"), 1);
4580
4580
 
4581
4581
  // package.json
4582
- var version = "0.16.8-alpha2";
4582
+ var version = "0.16.8";
4583
4583
 
4584
4584
  // src/core/utils/log/printHeader.ts
4585
4585
  var import_consola2 = require("consola");
@@ -5561,9 +5561,7 @@ async function createServer(inlineConfig) {
5561
5561
  const buildAndOpenBrowser = async () => {
5562
5562
  server.currentOutput = await internalBuild();
5563
5563
  try {
5564
- const files = getExternalOutputDependencies(server);
5565
- console.log("Additional files:", files);
5566
- server.watcher.add(files);
5564
+ server.watcher.add(getExternalOutputDependencies(server));
5567
5565
  } catch (err) {
5568
5566
  wxt.config.logger.warn("Failed to register additional file paths:", err);
5569
5567
  }
@@ -5741,7 +5739,7 @@ function getFilenameList(names) {
5741
5739
  }).join(import_picocolors7.default.dim(", "));
5742
5740
  }
5743
5741
  function getExternalOutputDependencies(server) {
5744
- const additionalFiles = server.currentOutput?.steps.flatMap((step, i) => {
5742
+ return server.currentOutput?.steps.flatMap((step, i) => {
5745
5743
  if (Array.isArray(step.entrypoints) && i === 0) {
5746
5744
  return [];
5747
5745
  }
@@ -5752,8 +5750,7 @@ function getExternalOutputDependencies(server) {
5752
5750
  });
5753
5751
  }).filter(
5754
5752
  (file) => !file.includes("node_modules") && !file.startsWith("\0")
5755
- ).map(unnormalizePath).filter((file) => !file.startsWith(wxt.config.root));
5756
- return additionalFiles ?? [];
5753
+ ).map(unnormalizePath).filter((file) => !file.startsWith(wxt.config.root)) ?? [];
5757
5754
  }
5758
5755
 
5759
5756
  // src/core/initialize.ts
package/dist/index.d.cts CHANGED
@@ -64,6 +64,6 @@ declare function prepare(config: InlineConfig): Promise<void>;
64
64
  */
65
65
  declare function zip(config?: InlineConfig): Promise<string[]>;
66
66
 
67
- var version = "0.16.8-alpha2";
67
+ var version = "0.16.8";
68
68
 
69
69
  export { BuildOutput, ExtensionRunnerConfig, InlineConfig, UserConfig, WxtDevServer, build, clean, createServer, defineConfig, defineRunnerConfig, initialize, prepare, version, zip };
package/dist/index.d.ts CHANGED
@@ -64,6 +64,6 @@ declare function prepare(config: InlineConfig): Promise<void>;
64
64
  */
65
65
  declare function zip(config?: InlineConfig): Promise<string[]>;
66
66
 
67
- var version = "0.16.8-alpha2";
67
+ var version = "0.16.8";
68
68
 
69
69
  export { BuildOutput, ExtensionRunnerConfig, InlineConfig, UserConfig, WxtDevServer, build, clean, createServer, defineConfig, defineRunnerConfig, initialize, prepare, version, zip };
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  unnormalizePath,
17
17
  version,
18
18
  wxt
19
- } from "./chunk-V5L54EDX.js";
19
+ } from "./chunk-N26YUOBL.js";
20
20
  import "./chunk-VBXJIVYU.js";
21
21
 
22
22
  // src/core/build.ts
@@ -231,9 +231,7 @@ async function createServer(inlineConfig) {
231
231
  const buildAndOpenBrowser = async () => {
232
232
  server.currentOutput = await internalBuild();
233
233
  try {
234
- const files = getExternalOutputDependencies(server);
235
- console.log("Additional files:", files);
236
- server.watcher.add(files);
234
+ server.watcher.add(getExternalOutputDependencies(server));
237
235
  } catch (err) {
238
236
  wxt.config.logger.warn("Failed to register additional file paths:", err);
239
237
  }
@@ -411,7 +409,7 @@ function getFilenameList(names) {
411
409
  }).join(pc2.dim(", "));
412
410
  }
413
411
  function getExternalOutputDependencies(server) {
414
- const additionalFiles = server.currentOutput?.steps.flatMap((step, i) => {
412
+ return server.currentOutput?.steps.flatMap((step, i) => {
415
413
  if (Array.isArray(step.entrypoints) && i === 0) {
416
414
  return [];
417
415
  }
@@ -422,8 +420,7 @@ function getExternalOutputDependencies(server) {
422
420
  });
423
421
  }).filter(
424
422
  (file) => !file.includes("node_modules") && !file.startsWith("\0")
425
- ).map(unnormalizePath).filter((file) => !file.startsWith(wxt.config.root));
426
- return additionalFiles ?? [];
423
+ ).map(unnormalizePath).filter((file) => !file.startsWith(wxt.config.root)) ?? [];
427
424
  }
428
425
 
429
426
  // src/core/initialize.ts
package/dist/testing.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  tsconfigPaths,
6
6
  unimport,
7
7
  webextensionPolyfillMock
8
- } from "./chunk-V5L54EDX.js";
8
+ } from "./chunk-N26YUOBL.js";
9
9
  import "./chunk-VBXJIVYU.js";
10
10
 
11
11
  // 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.16.8-alpha2",
4
+ "version": "0.16.8",
5
5
  "description": "Next gen framework for developing web extensions",
6
6
  "engines": {
7
7
  "node": ">=18",