[ci] format
This commit is contained in:
parent
1d3a0a16f3
commit
b429aff2ad
5 changed files with 4 additions and 8 deletions
|
@ -5,7 +5,6 @@ import svelte from '@astrojs/svelte';
|
||||||
import vue from '@astrojs/vue';
|
import vue from '@astrojs/vue';
|
||||||
import solid from '@astrojs/solid-js';
|
import solid from '@astrojs/solid-js';
|
||||||
|
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
// Enable many frameworks to support all different kinds of components.
|
// Enable many frameworks to support all different kinds of components.
|
||||||
|
|
|
@ -10,7 +10,7 @@ import {
|
||||||
renderToString,
|
renderToString,
|
||||||
spreadAttributes,
|
spreadAttributes,
|
||||||
stringifyChunk,
|
stringifyChunk,
|
||||||
voidElementNames
|
voidElementNames,
|
||||||
} from './index.js';
|
} from './index.js';
|
||||||
|
|
||||||
const ClientOnlyPlaceholder = 'astro-client-only';
|
const ClientOnlyPlaceholder = 'astro-client-only';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { escapeHTML, HTMLString, markHTMLString } from '../escape.js';
|
import { escapeHTML, HTMLString, markHTMLString } from '../escape.js';
|
||||||
import { AstroComponent, renderAstroComponent } from './astro.js';
|
import { AstroComponent, renderAstroComponent } from './astro.js';
|
||||||
import { stringifyChunk } from './common.js';
|
import { stringifyChunk } from './common.js';
|
||||||
|
|
||||||
export async function* renderChild(child: any): AsyncIterable<any> {
|
export async function* renderChild(child: any): AsyncIterable<any> {
|
||||||
child = await child;
|
child = await child;
|
||||||
if (child instanceof HTMLString) {
|
if (child instanceof HTMLString) {
|
||||||
|
|
|
@ -6,7 +6,7 @@ import {
|
||||||
determineIfNeedsHydrationScript,
|
determineIfNeedsHydrationScript,
|
||||||
determinesIfNeedsDirectiveScript,
|
determinesIfNeedsDirectiveScript,
|
||||||
getPrescripts,
|
getPrescripts,
|
||||||
PrescriptType
|
PrescriptType,
|
||||||
} from '../scripts.js';
|
} from '../scripts.js';
|
||||||
|
|
||||||
export const Fragment = Symbol.for('astro:fragment');
|
export const Fragment = Symbol.for('astro:fragment');
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
import type {
|
import type { AstroComponentMetadata, SSRLoadedRenderer, SSRResult } from '../../../@types/astro';
|
||||||
AstroComponentMetadata,
|
|
||||||
SSRLoadedRenderer, SSRResult
|
|
||||||
} from '../../../@types/astro';
|
|
||||||
import type { RenderInstruction } from './types.js';
|
import type { RenderInstruction } from './types.js';
|
||||||
|
|
||||||
import { markHTMLString } from '../escape.js';
|
import { markHTMLString } from '../escape.js';
|
||||||
|
|
Loading…
Reference in a new issue