From 87df0ac9868feb111213c1192c9a6108bbfa0b40 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Mon, 2 Nov 2020 02:41:55 +0100 Subject: [PATCH] ignore alias import for now --- packages/nitro/src/targets/cli/entry.ts | 1 + packages/nitro/src/targets/cloudflare/entry.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/nitro/src/targets/cli/entry.ts b/packages/nitro/src/targets/cli/entry.ts index e82677f019..ad058ad4bf 100644 --- a/packages/nitro/src/targets/cli/entry.ts +++ b/packages/nitro/src/targets/cli/entry.ts @@ -1,3 +1,4 @@ +// @ts-ignore import { render } from '~runtime/server' render(process.argv[2] || '/') diff --git a/packages/nitro/src/targets/cloudflare/entry.ts b/packages/nitro/src/targets/cloudflare/entry.ts index 0aa0b0c613..b27f83034c 100644 --- a/packages/nitro/src/targets/cloudflare/entry.ts +++ b/packages/nitro/src/targets/cloudflare/entry.ts @@ -1,3 +1,4 @@ +// @ts-ignore import { render } from '~runtime/server' addEventListener('fetch', (event) => {