From 679c622ac50ccef67a4b8d970fc6ae61583edcb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Sun, 12 Jun 2022 23:19:49 +0200 Subject: [PATCH] fix(cloudflare): use `@cloudflare/wrangler` until we support wrangler 2 (#265) --- src/presets/cloudflare.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/presets/cloudflare.ts b/src/presets/cloudflare.ts index e7999a983c..5f60c238bb 100644 --- a/src/presets/cloudflare.ts +++ b/src/presets/cloudflare.ts @@ -8,7 +8,7 @@ export const cloudflare = defineNitroPreset({ entry: '#internal/nitro/entries/cloudflare', commands: { preview: 'npx miniflare ./server/index.mjs --site ./public', - deploy: 'cd ./server && npx wrangler publish' + deploy: 'npx @cloudflare/wrangler publish' }, hooks: { async 'compiled' (nitro: Nitro) {