wxt 0.18.3 → 0.18.4
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-XAYX5BXI.js → chunk-LRYUZ4EH.js} +1 -1
- package/dist/cli.js +4 -7
- package/dist/client.js +1 -1
- package/dist/index.cjs +4 -7
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -7
- package/dist/testing.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -2515,7 +2515,7 @@ function getChunkSortWeight(filename) {
|
|
|
2515
2515
|
import pc4 from "picocolors";
|
|
2516
2516
|
|
|
2517
2517
|
// package.json
|
|
2518
|
-
var version = "0.18.
|
|
2518
|
+
var version = "0.18.3";
|
|
2519
2519
|
|
|
2520
2520
|
// src/core/utils/log/printHeader.ts
|
|
2521
2521
|
function printHeader() {
|
|
@@ -3935,13 +3935,10 @@ async function zipDir(directory, outputPath, options) {
|
|
|
3935
3935
|
cwd: directory,
|
|
3936
3936
|
// Ignore node_modules, otherwise this glob step takes forever
|
|
3937
3937
|
ignore: ["**/node_modules"],
|
|
3938
|
-
onlyFiles: true
|
|
3938
|
+
onlyFiles: true,
|
|
3939
|
+
dot: true
|
|
3939
3940
|
})).filter((relativePath) => {
|
|
3940
|
-
return
|
|
3941
|
-
(pattern) => minimatch2(relativePath, pattern)
|
|
3942
|
-
) || !wxt.config.zip.excludeSources.some(
|
|
3943
|
-
(pattern) => minimatch2(relativePath, pattern)
|
|
3944
|
-
);
|
|
3941
|
+
return options?.include?.some((pattern) => minimatch2(relativePath, pattern)) || !options?.exclude?.some((pattern) => minimatch2(relativePath, pattern));
|
|
3945
3942
|
});
|
|
3946
3943
|
const filesToZip = [
|
|
3947
3944
|
...files,
|
package/dist/client.js
CHANGED
|
@@ -213,7 +213,7 @@ var ContentScriptContext = class _ContentScriptContext {
|
|
|
213
213
|
#stopOldScripts() {
|
|
214
214
|
window.postMessage(
|
|
215
215
|
{
|
|
216
|
-
|
|
216
|
+
type: _ContentScriptContext.SCRIPT_STARTED_MESSAGE_TYPE,
|
|
217
217
|
contentScriptName: this.contentScriptName
|
|
218
218
|
},
|
|
219
219
|
"*"
|
package/dist/index.cjs
CHANGED
|
@@ -6805,7 +6805,7 @@ function getChunkSortWeight(filename) {
|
|
|
6805
6805
|
var import_picocolors4 = __toESM(require("picocolors"), 1);
|
|
6806
6806
|
|
|
6807
6807
|
// package.json
|
|
6808
|
-
var version = "0.18.
|
|
6808
|
+
var version = "0.18.3";
|
|
6809
6809
|
|
|
6810
6810
|
// src/core/utils/building/internal-build.ts
|
|
6811
6811
|
var import_fast_glob3 = __toESM(require("fast-glob"), 1);
|
|
@@ -8229,13 +8229,10 @@ async function zipDir(directory, outputPath, options) {
|
|
|
8229
8229
|
cwd: directory,
|
|
8230
8230
|
// Ignore node_modules, otherwise this glob step takes forever
|
|
8231
8231
|
ignore: ["**/node_modules"],
|
|
8232
|
-
onlyFiles: true
|
|
8232
|
+
onlyFiles: true,
|
|
8233
|
+
dot: true
|
|
8233
8234
|
})).filter((relativePath) => {
|
|
8234
|
-
return
|
|
8235
|
-
(pattern) => (0, import_minimatch2.minimatch)(relativePath, pattern)
|
|
8236
|
-
) || !wxt.config.zip.excludeSources.some(
|
|
8237
|
-
(pattern) => (0, import_minimatch2.minimatch)(relativePath, pattern)
|
|
8238
|
-
);
|
|
8235
|
+
return options?.include?.some((pattern) => (0, import_minimatch2.minimatch)(relativePath, pattern)) || !options?.exclude?.some((pattern) => (0, import_minimatch2.minimatch)(relativePath, pattern));
|
|
8239
8236
|
});
|
|
8240
8237
|
const filesToZip = [
|
|
8241
8238
|
...files,
|
package/dist/index.d.cts
CHANGED
|
@@ -65,6 +65,6 @@ declare function prepare(config: InlineConfig): Promise<void>;
|
|
|
65
65
|
*/
|
|
66
66
|
declare function zip(config?: InlineConfig): Promise<string[]>;
|
|
67
67
|
|
|
68
|
-
var version = "0.18.
|
|
68
|
+
var version = "0.18.3";
|
|
69
69
|
|
|
70
70
|
export { BuildOutput, ExtensionRunnerConfig, InlineConfig, UserConfig, WxtDevServer, build, clean, createServer, defineConfig, defineRunnerConfig, initialize, prepare, version, zip };
|
package/dist/index.d.ts
CHANGED
|
@@ -65,6 +65,6 @@ declare function prepare(config: InlineConfig): Promise<void>;
|
|
|
65
65
|
*/
|
|
66
66
|
declare function zip(config?: InlineConfig): Promise<string[]>;
|
|
67
67
|
|
|
68
|
-
var version = "0.18.
|
|
68
|
+
var version = "0.18.3";
|
|
69
69
|
|
|
70
70
|
export { BuildOutput, ExtensionRunnerConfig, InlineConfig, UserConfig, WxtDevServer, build, clean, createServer, defineConfig, defineRunnerConfig, initialize, prepare, version, zip };
|
package/dist/index.js
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
unnormalizePath,
|
|
20
20
|
version,
|
|
21
21
|
wxt
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LRYUZ4EH.js";
|
|
23
23
|
import "./chunk-5X3S6AWF.js";
|
|
24
24
|
import {
|
|
25
25
|
consola
|
|
@@ -614,13 +614,10 @@ async function zipDir(directory, outputPath, options) {
|
|
|
614
614
|
cwd: directory,
|
|
615
615
|
// Ignore node_modules, otherwise this glob step takes forever
|
|
616
616
|
ignore: ["**/node_modules"],
|
|
617
|
-
onlyFiles: true
|
|
617
|
+
onlyFiles: true,
|
|
618
|
+
dot: true
|
|
618
619
|
})).filter((relativePath) => {
|
|
619
|
-
return
|
|
620
|
-
(pattern) => minimatch(relativePath, pattern)
|
|
621
|
-
) || !wxt.config.zip.excludeSources.some(
|
|
622
|
-
(pattern) => minimatch(relativePath, pattern)
|
|
623
|
-
);
|
|
620
|
+
return options?.include?.some((pattern) => minimatch(relativePath, pattern)) || !options?.exclude?.some((pattern) => minimatch(relativePath, pattern));
|
|
624
621
|
});
|
|
625
622
|
const filesToZip = [
|
|
626
623
|
...files,
|
package/dist/testing.js
CHANGED