0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00

[ci] format

This commit is contained in:
bholmesdev 2023-03-27 22:06:51 +00:00 committed by fredkbot
parent 7c439868a3
commit 9352e0056c
3 changed files with 4 additions and 6 deletions

View file

@ -6,10 +6,10 @@ import { fileURLToPath } from 'node:url';
import { isValidUrl, MarkdocError, parseFrontmatter, prependForwardSlash } from './utils.js';
// @ts-expect-error Cannot find module 'astro/assets' or its corresponding type declarations.
import { emitESMImage } from 'astro/assets';
import { loadMarkdocConfig } from './load-config.js';
import { applyDefaultConfig } from './default-config.js';
import { bold, red } from 'kleur/colors';
import type * as rollup from 'rollup';
import { applyDefaultConfig } from './default-config.js';
import { loadMarkdocConfig } from './load-config.js';
type SetupHookParams = HookParameters<'astro:config:setup'> & {
// `contentEntryType` is not a public API

View file

@ -1,8 +1,8 @@
import type { AstroConfig } from 'astro';
import type { Config as MarkdocConfig } from '@markdoc/markdoc';
import type { AstroConfig } from 'astro';
import { build as esbuild } from 'esbuild';
import { fileURLToPath } from 'node:url';
import * as fs from 'node:fs';
import { fileURLToPath } from 'node:url';
const SUPPORTED_MARKDOC_CONFIG_FILES = [
'markdoc.config.js',

View file

@ -1,6 +1,4 @@
import matter from 'gray-matter';
import type fsMod from 'node:fs';
import path from 'node:path';
import type { ErrorPayload as ViteErrorPayload } from 'vite';
/**