packages/reader deploy: ⛅️ wrangler 4.22.0 (update available 4.24.3)
packages/reader deploy: ─────────────────────────────────────────────
packages/writer deploy: ⛅️ wrangler 4.22.0 (update available 4.24.3)
packages/writer deploy: ─────────────────────────────────────────────
packages/writer deploy: ✘ [ERROR] Build failed with 1 error:
packages/writer deploy: ✘ [ERROR] Could not resolve "minimatch"
packages/writer deploy:
packages/writer deploy: .svelte-kit/output/server/chunks/hooks.server.js:22328:34:
packages/writer deploy: 22328 │ globMatcher = require("minimatch").minimatch;
packages/writer deploy: ╵ ~~~~~~~~~~~
packages/writer deploy:
packages/writer deploy: You can mark the path "minimatch" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle. You can also surround this "require" call with a try/catch block to handle this failure at run-time instead of bundle-time.
Top comments (0)