From 8ce54b5d6a093bd99dc19bba651b60e212c5c916 Mon Sep 17 00:00:00 2001 From: Princesseuh <3019731+Princesseuh@users.noreply.github.com> Date: Thu, 29 Aug 2024 15:22:46 +0200 Subject: [PATCH] fix: remove type for directRenderScript --- packages/astro/src/types/public/config.ts | 27 ----------------------- 1 file changed, 27 deletions(-) diff --git a/packages/astro/src/types/public/config.ts b/packages/astro/src/types/public/config.ts index 297f7e38e1..d39b2f3d69 100644 --- a/packages/astro/src/types/public/config.ts +++ b/packages/astro/src/types/public/config.ts @@ -1502,33 +1502,6 @@ export interface AstroUserConfig { * These flags are not guaranteed to be stable. */ experimental?: { - /** - * @docs - * @name experimental.directRenderScript - * @type {boolean} - * @default `false` - * @version 4.5.0 - * @description - * Enables a more reliable strategy to prevent scripts from being executed in pages where they are not used. - * - * Scripts will directly render as declared in Astro files (including existing features like TypeScript, importing `node_modules`, - * and deduplicating scripts). You can also now conditionally render scripts in your Astro file. - - * However, this means scripts are no longer hoisted to the `` and multiple scripts on a page are no longer bundled together. - * If you enable this option, you should check that all your `