0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

[ci] format

This commit is contained in:
ematipico 2023-05-19 12:53:45 +00:00 committed by fredkbot
parent 319a0a7a0a
commit 96947fce96
2 changed files with 2 additions and 2 deletions

View file

@ -7,10 +7,10 @@ import { pluginComponentEntry } from './plugin-component-entry.js';
import { pluginCSS } from './plugin-css.js'; import { pluginCSS } from './plugin-css.js';
import { pluginHoistedScripts } from './plugin-hoisted-scripts.js'; import { pluginHoistedScripts } from './plugin-hoisted-scripts.js';
import { pluginInternals } from './plugin-internals.js'; import { pluginInternals } from './plugin-internals.js';
import { pluginMiddleware } from './plugin-middleware.js';
import { pluginPages } from './plugin-pages.js'; import { pluginPages } from './plugin-pages.js';
import { pluginPrerender } from './plugin-prerender.js'; import { pluginPrerender } from './plugin-prerender.js';
import { pluginSSR } from './plugin-ssr.js'; import { pluginSSR } from './plugin-ssr.js';
import { pluginMiddleware } from './plugin-middleware.js';
export function registerAllPlugins({ internals, options, register }: AstroBuildPluginContainer) { export function registerAllPlugins({ internals, options, register }: AstroBuildPluginContainer) {
register(pluginComponentEntry(internals)); register(pluginComponentEntry(internals));

View file

@ -25,9 +25,9 @@ import { generatePages } from './generate.js';
import { trackPageData } from './internal.js'; import { trackPageData } from './internal.js';
import { createPluginContainer, type AstroBuildPluginContainer } from './plugin.js'; import { createPluginContainer, type AstroBuildPluginContainer } from './plugin.js';
import { registerAllPlugins } from './plugins/index.js'; import { registerAllPlugins } from './plugins/index.js';
import { RESOLVED_MIDDLEWARE_MODULE_ID } from './plugins/plugin-middleware.js';
import type { PageBuildData, StaticBuildOptions } from './types'; import type { PageBuildData, StaticBuildOptions } from './types';
import { getTimeStat } from './util.js'; import { getTimeStat } from './util.js';
import { RESOLVED_MIDDLEWARE_MODULE_ID } from './plugins/plugin-middleware.js';
export async function viteBuild(opts: StaticBuildOptions) { export async function viteBuild(opts: StaticBuildOptions) {
const { allPages, settings } = opts; const { allPages, settings } = opts;