We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b1df8d commit 1b3c0d8Copy full SHA for 1b3c0d8
scripts/pack.js
@@ -1,7 +1,7 @@
1
/* global process */
2
import { promises as fs } from "fs";
3
import { createWriteStream } from "fs";
4
-import { createJSZip } from "@App/pkg/utils/jszip-x";
+import JSZip from "jszip";
5
import ChromeExtension from "crx";
6
import { execSync } from "child_process";
7
import manifest from "../src/manifest.json" with { type: "json" };
@@ -90,8 +90,8 @@ firefoxManifest.commands = {
90
_execute_action: {},
91
};
92
93
-const chrome = createJSZip();
94
-const firefox = createJSZip();
+const chrome = new JSZip();
+const firefox = new JSZip();
95
96
async function addDir(zip, localDir, toDir, filters) {
97
const sub = async (localDir, toDir) => {
0 commit comments