wxt 0.15.2 → 0.15.3
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.
- package/dist/{chunk-QEFFZE4W.js → chunk-6OOILYIE.js} +5 -5
- package/dist/cli.js +5 -5
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/testing.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// package.json
|
|
2
|
-
var version = "0.15.
|
|
2
|
+
var version = "0.15.3";
|
|
3
3
|
|
|
4
4
|
// src/core/utils/arrays.ts
|
|
5
5
|
function every(array, predicate) {
|
|
@@ -102,10 +102,10 @@ function findEffectedSteps(changedFile, currentOutput) {
|
|
|
102
102
|
const changes = [];
|
|
103
103
|
const changedPath = normalizePath(changedFile);
|
|
104
104
|
const isChunkEffected = (chunk) => (
|
|
105
|
-
// If it's an HTML file with the same path, is is effected because HTML files need to be
|
|
106
|
-
// fileName is normalized, relative bundle path
|
|
107
|
-
chunk.type === "asset" && changedPath.endsWith(chunk.fileName) || // If it's a chunk that depends on the changed file, it is effected
|
|
108
|
-
// moduleIds are absolute, normalized paths
|
|
105
|
+
// If it's an HTML file with the same path, is is effected because HTML files need to be re-rendered
|
|
106
|
+
// - fileName is normalized, relative bundle path, "<entrypoint-name>.html"
|
|
107
|
+
chunk.type === "asset" && changedPath.replace("/index.html", ".html").endsWith(chunk.fileName) || // If it's a chunk that depends on the changed file, it is effected
|
|
108
|
+
// - moduleIds are absolute, normalized paths
|
|
109
109
|
chunk.type === "chunk" && chunk.moduleIds.includes(changedPath)
|
|
110
110
|
);
|
|
111
111
|
for (const step of currentOutput.steps) {
|
package/dist/cli.js
CHANGED
|
@@ -161,10 +161,10 @@ function findEffectedSteps(changedFile, currentOutput) {
|
|
|
161
161
|
const changes = [];
|
|
162
162
|
const changedPath = normalizePath(changedFile);
|
|
163
163
|
const isChunkEffected = (chunk) => (
|
|
164
|
-
// If it's an HTML file with the same path, is is effected because HTML files need to be
|
|
165
|
-
// fileName is normalized, relative bundle path
|
|
166
|
-
chunk.type === "asset" && changedPath.endsWith(chunk.fileName) || // If it's a chunk that depends on the changed file, it is effected
|
|
167
|
-
// moduleIds are absolute, normalized paths
|
|
164
|
+
// If it's an HTML file with the same path, is is effected because HTML files need to be re-rendered
|
|
165
|
+
// - fileName is normalized, relative bundle path, "<entrypoint-name>.html"
|
|
166
|
+
chunk.type === "asset" && changedPath.replace("/index.html", ".html").endsWith(chunk.fileName) || // If it's a chunk that depends on the changed file, it is effected
|
|
167
|
+
// - moduleIds are absolute, normalized paths
|
|
168
168
|
chunk.type === "chunk" && chunk.moduleIds.includes(changedPath)
|
|
169
169
|
);
|
|
170
170
|
for (const step of currentOutput.steps) {
|
|
@@ -2016,7 +2016,7 @@ function getChunkSortWeight(filename) {
|
|
|
2016
2016
|
import pc4 from "picocolors";
|
|
2017
2017
|
|
|
2018
2018
|
// package.json
|
|
2019
|
-
var version = "0.15.
|
|
2019
|
+
var version = "0.15.3";
|
|
2020
2020
|
|
|
2021
2021
|
// src/core/utils/log/printHeader.ts
|
|
2022
2022
|
import { consola as consola2 } from "consola";
|
package/dist/index.cjs
CHANGED
|
@@ -2584,10 +2584,10 @@ function findEffectedSteps(changedFile, currentOutput) {
|
|
|
2584
2584
|
const changes = [];
|
|
2585
2585
|
const changedPath = normalizePath(changedFile);
|
|
2586
2586
|
const isChunkEffected = (chunk) => (
|
|
2587
|
-
// If it's an HTML file with the same path, is is effected because HTML files need to be
|
|
2588
|
-
// fileName is normalized, relative bundle path
|
|
2589
|
-
chunk.type === "asset" && changedPath.endsWith(chunk.fileName) || // If it's a chunk that depends on the changed file, it is effected
|
|
2590
|
-
// moduleIds are absolute, normalized paths
|
|
2587
|
+
// If it's an HTML file with the same path, is is effected because HTML files need to be re-rendered
|
|
2588
|
+
// - fileName is normalized, relative bundle path, "<entrypoint-name>.html"
|
|
2589
|
+
chunk.type === "asset" && changedPath.replace("/index.html", ".html").endsWith(chunk.fileName) || // If it's a chunk that depends on the changed file, it is effected
|
|
2590
|
+
// - moduleIds are absolute, normalized paths
|
|
2591
2591
|
chunk.type === "chunk" && chunk.moduleIds.includes(changedPath)
|
|
2592
2592
|
);
|
|
2593
2593
|
for (const step of currentOutput.steps) {
|
|
@@ -4443,7 +4443,7 @@ function getChunkSortWeight(filename) {
|
|
|
4443
4443
|
var import_picocolors4 = __toESM(require("picocolors"), 1);
|
|
4444
4444
|
|
|
4445
4445
|
// package.json
|
|
4446
|
-
var version = "0.15.
|
|
4446
|
+
var version = "0.15.3";
|
|
4447
4447
|
|
|
4448
4448
|
// src/core/utils/log/printHeader.ts
|
|
4449
4449
|
var import_consola2 = require("consola");
|
package/dist/index.d.cts
CHANGED
|
@@ -62,6 +62,6 @@ declare function prepare(config: InlineConfig): Promise<void>;
|
|
|
62
62
|
*/
|
|
63
63
|
declare function zip(config?: InlineConfig): Promise<string[]>;
|
|
64
64
|
|
|
65
|
-
var version = "0.15.
|
|
65
|
+
var version = "0.15.3";
|
|
66
66
|
|
|
67
67
|
export { BuildOutput, ExtensionRunnerConfig, InlineConfig, UserConfig, WxtDevServer, build, clean, createServer, defineConfig, defineRunnerConfig, initialize, prepare, version, zip };
|
package/dist/index.d.ts
CHANGED
|
@@ -62,6 +62,6 @@ declare function prepare(config: InlineConfig): Promise<void>;
|
|
|
62
62
|
*/
|
|
63
63
|
declare function zip(config?: InlineConfig): Promise<string[]>;
|
|
64
64
|
|
|
65
|
-
var version = "0.15.
|
|
65
|
+
var version = "0.15.3";
|
|
66
66
|
|
|
67
67
|
export { BuildOutput, ExtensionRunnerConfig, InlineConfig, UserConfig, WxtDevServer, build, clean, createServer, defineConfig, defineRunnerConfig, initialize, prepare, version, zip };
|
package/dist/index.js
CHANGED
package/dist/testing.js
CHANGED