diff --git a/packages/astro/src/content/index.ts b/packages/astro/src/content/index.ts index 7c8eb0ddb..a2eae67ed 100644 --- a/packages/astro/src/content/index.ts +++ b/packages/astro/src/content/index.ts @@ -1,8 +1,8 @@ export { createContentTypesGenerator } from './types-generator.js'; export { contentObservable, getContentPaths, getDotAstroTypeReference } from './utils.js'; export { - astroContentProdBundlePlugin, astroContentAssetPropagationPlugin, + astroContentProdBundlePlugin, } from './vite-plugin-content-assets.js'; export { astroContentServerPlugin } from './vite-plugin-content-server.js'; export { astroContentVirtualModPlugin } from './vite-plugin-content-virtual-mod.js'; diff --git a/packages/astro/src/content/internal.ts b/packages/astro/src/content/internal.ts index 5fce7cdbc..2b8f8ba6f 100644 --- a/packages/astro/src/content/internal.ts +++ b/packages/astro/src/content/internal.ts @@ -4,8 +4,8 @@ import { createComponent, createHeadAndContent, renderComponent, - renderStyleElement, renderScriptElement, + renderStyleElement, renderTemplate, renderUniqueStylesheet, unescapeHTML, diff --git a/packages/astro/src/content/vite-plugin-content-assets.ts b/packages/astro/src/content/vite-plugin-content-assets.ts index 088dbf4ff..54b84380d 100644 --- a/packages/astro/src/content/vite-plugin-content-assets.ts +++ b/packages/astro/src/content/vite-plugin-content-assets.ts @@ -8,8 +8,8 @@ import { getStylesForURL } from '../core/render/dev/css.js'; import { getScriptsForURL } from '../core/render/dev/scripts.js'; import { contentFileExts, - PROPAGATED_ASSET_FLAG, LINKS_PLACEHOLDER, + PROPAGATED_ASSET_FLAG, SCRIPTS_PLACEHOLDER, STYLES_PLACEHOLDER, } from './consts.js'; diff --git a/packages/astro/src/core/create-vite.ts b/packages/astro/src/core/create-vite.ts index 9d57dbfa3..9708466c9 100644 --- a/packages/astro/src/core/create-vite.ts +++ b/packages/astro/src/core/create-vite.ts @@ -6,9 +6,9 @@ import { fileURLToPath } from 'url'; import * as vite from 'vite'; import { crawlFrameworkPkgs } from 'vitefu'; import { + astroContentAssetPropagationPlugin, astroContentServerPlugin, astroContentVirtualModPlugin, - astroContentAssetPropagationPlugin, } from '../content/index.js'; import astroPostprocessVitePlugin from '../vite-plugin-astro-postprocess/index.js'; import { vitePluginAstroServer } from '../vite-plugin-astro-server/index.js'; diff --git a/packages/astro/src/runtime/server/index.ts b/packages/astro/src/runtime/server/index.ts index 55aba800b..ccdfd5e19 100644 --- a/packages/astro/src/runtime/server/index.ts +++ b/packages/astro/src/runtime/server/index.ts @@ -16,9 +16,9 @@ export { renderHead, renderHTMLElement, renderPage, + renderScriptElement, renderSlot, renderStyleElement, - renderScriptElement, renderTemplate as render, renderTemplate, renderToString, diff --git a/packages/astro/src/runtime/server/render/index.ts b/packages/astro/src/runtime/server/render/index.ts index 8e8ae1a6b..012b421f5 100644 --- a/packages/astro/src/runtime/server/render/index.ts +++ b/packages/astro/src/runtime/server/render/index.ts @@ -16,6 +16,6 @@ export { renderHTMLElement } from './dom.js'; export { maybeRenderHead, renderHead } from './head.js'; export { renderPage } from './page.js'; export { renderSlot } from './slot.js'; -export { renderStyleElement, renderScriptElement, renderUniqueStylesheet } from './tags.js'; +export { renderScriptElement, renderStyleElement, renderUniqueStylesheet } from './tags.js'; export type { RenderInstruction } from './types'; export { addAttribute, defineScriptVars, voidElementNames } from './util.js';