diff --git a/packages/integrations/deno/src/index.ts b/packages/integrations/deno/src/index.ts index 9740e3027..7f417a264 100644 --- a/packages/integrations/deno/src/index.ts +++ b/packages/integrations/deno/src/index.ts @@ -130,7 +130,6 @@ export default function createIntegration(args?: Options): AstroIntegration { `[@astrojs/deno] Otherwise, this adapter is not required to deploy a static site to Deno.` ); } - }, 'astro:build:setup': ({ vite, target }) => { if (target === 'server') { diff --git a/packages/integrations/netlify/src/integration-functions.ts b/packages/integrations/netlify/src/integration-functions.ts index 81aa8ff2f..33e7bade3 100644 --- a/packages/integrations/netlify/src/integration-functions.ts +++ b/packages/integrations/netlify/src/integration-functions.ts @@ -1,6 +1,6 @@ import type { AstroAdapter, AstroConfig, AstroIntegration, RouteData } from 'astro'; -import { extname, join } from 'node:path'; import { writeFile } from 'node:fs/promises'; +import { extname, join } from 'node:path'; import { fileURLToPath } from 'node:url'; import { generateEdgeMiddleware } from './middleware.js'; import type { Args } from './netlify-functions.js'; @@ -87,13 +87,13 @@ function netlifyFunctions({ }, 'astro:build:done': async ({ routes, dir }) => { const functionsConfig = { - version: 1, - config: { - nodeModuleFormat: "esm" - } - } - const functionsConfigPath = join(fileURLToPath(_config.build.server), "entry.json") - await writeFile(functionsConfigPath, JSON.stringify(functionsConfig)) + version: 1, + config: { + nodeModuleFormat: 'esm', + }, + }; + const functionsConfigPath = join(fileURLToPath(_config.build.server), 'entry.json'); + await writeFile(functionsConfigPath, JSON.stringify(functionsConfig)); const type = builders ? 'builders' : 'functions'; const kind = type ?? 'functions';