diff --git a/frontend/patches/@zip.js__zip.js.patch b/frontend/patches/@zip.js__zip.js.patch new file mode 100644 index 0000000000..9395eb18a0 --- /dev/null +++ b/frontend/patches/@zip.js__zip.js.patch @@ -0,0 +1,17 @@ +diff --git a/lib/zip-core-base.js b/lib/zip-core-base.js +index 142155c8c3ab1a6caa7c370e8a2931a954556ca9..61b0fe6efb91312f437750e0002218f218afad8b 100644 +--- a/lib/zip-core-base.js ++++ b/lib/zip-core-base.js +@@ -28,12 +28,6 @@ + + import { configure } from "./core/configuration.js"; + +-try { +- configure({ baseURI: import.meta.url }); +-} catch { +- // ignored +-} +- + export * from "./zip-core-reader.js"; + export * from "./zip-core-writer.js"; + export { diff --git a/frontend/pnpm-workspace.yaml b/frontend/pnpm-workspace.yaml new file mode 100644 index 0000000000..a13e59b96c --- /dev/null +++ b/frontend/pnpm-workspace.yaml @@ -0,0 +1,6 @@ +patchedDependencies: + '@zip.js/zip.js': patches/@zip.js__zip.js.patch + + +shamefullyHoist: true +recursiveInstall: true