diff --git a/plugin/src/templates/edge/ipx.ts b/plugin/src/templates/edge/ipx.ts index f46818495b..9f8313a6d8 100644 --- a/plugin/src/templates/edge/ipx.ts +++ b/plugin/src/templates/edge/ipx.ts @@ -1,5 +1,5 @@ import { Accepts } from 'https://deno.land/x/accepts@2.1.1/mod.ts' -import type { Context } from 'netlify:edge' +import type { Context } from 'https://edge.netlify.com' // Available at build time import imageconfig from './imageconfig.json' assert { type: 'json' } diff --git a/plugin/src/templates/edge/runtime.ts b/plugin/src/templates/edge/runtime.ts index 6fbb80af89..076a994610 100644 --- a/plugin/src/templates/edge/runtime.ts +++ b/plugin/src/templates/edge/runtime.ts @@ -1,4 +1,4 @@ -import type { Context } from 'netlify:edge' +import type { Context } from 'https://edge.netlify.com' import edgeFunction from './bundle.js' import { buildResponse } from './utils.ts' diff --git a/plugin/src/templates/edge/utils.ts b/plugin/src/templates/edge/utils.ts index ffe251e55a..582eb50ae7 100644 --- a/plugin/src/templates/edge/utils.ts +++ b/plugin/src/templates/edge/utils.ts @@ -1,4 +1,4 @@ -import type { Context } from 'netlify:edge' +import type { Context } from 'https://edge.netlify.com' import { ElementHandlers, HTMLRewriter } from 'https://deno.land/x/html_rewriter@v0.1.0-pre.17/index.ts' export interface FetchEventResult {