[ci] format
This commit is contained in:
parent
853081d1c8
commit
813576b39a
4 changed files with 7 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
|
export { getContentPaths } from './utils.js';
|
||||||
export {
|
export {
|
||||||
astroBundleDelayedAssetPlugin,
|
astroBundleDelayedAssetPlugin,
|
||||||
astroDelayedAssetPlugin,
|
astroDelayedAssetPlugin,
|
||||||
} from './vite-plugin-content-assets.js';
|
} from './vite-plugin-content-assets.js';
|
||||||
export { astroContentServerPlugin } from './vite-plugin-content-server.js';
|
export { astroContentServerPlugin } from './vite-plugin-content-server.js';
|
||||||
export { astroContentVirtualModPlugin } from './vite-plugin-content-virtual-mod.js';
|
export { astroContentVirtualModPlugin } from './vite-plugin-content-virtual-mod.js';
|
||||||
export { getContentPaths } from './utils.js';
|
|
||||||
|
|
|
@ -7,6 +7,7 @@ import type { StaticBuildOptions } from './types';
|
||||||
import glob from 'fast-glob';
|
import glob from 'fast-glob';
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import { fileURLToPath } from 'url';
|
import { fileURLToPath } from 'url';
|
||||||
|
import { getContentPaths } from '../../content/index.js';
|
||||||
import { runHookBuildSsr } from '../../integrations/index.js';
|
import { runHookBuildSsr } from '../../integrations/index.js';
|
||||||
import { BEFORE_HYDRATION_SCRIPT_ID, PAGE_SCRIPT_ID } from '../../vite-plugin-scripts/index.js';
|
import { BEFORE_HYDRATION_SCRIPT_ID, PAGE_SCRIPT_ID } from '../../vite-plugin-scripts/index.js';
|
||||||
import { pagesVirtualModuleId } from '../app/index.js';
|
import { pagesVirtualModuleId } from '../app/index.js';
|
||||||
|
@ -15,7 +16,6 @@ import { serializeRouteData } from '../routing/index.js';
|
||||||
import { addRollupInput } from './add-rollup-input.js';
|
import { addRollupInput } from './add-rollup-input.js';
|
||||||
import { getOutFile, getOutFolder } from './common.js';
|
import { getOutFile, getOutFolder } from './common.js';
|
||||||
import { eachPrerenderedPageData, eachServerPageData, sortedCSS } from './internal.js';
|
import { eachPrerenderedPageData, eachServerPageData, sortedCSS } from './internal.js';
|
||||||
import { getContentPaths } from '../../content/index.js';
|
|
||||||
|
|
||||||
export const virtualModuleId = '@astrojs-ssr-virtual-entry';
|
export const virtualModuleId = '@astrojs-ssr-virtual-entry';
|
||||||
const resolvedVirtualModuleId = '\0' + virtualModuleId;
|
const resolvedVirtualModuleId = '\0' + virtualModuleId;
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
import { rehypeHeadingIds } from '@astrojs/markdown-remark';
|
import { rehypeHeadingIds } from '@astrojs/markdown-remark';
|
||||||
import type { Image } from 'mdast';
|
|
||||||
import { nodeTypes } from '@mdx-js/mdx';
|
import { nodeTypes } from '@mdx-js/mdx';
|
||||||
import type { PluggableList } from '@mdx-js/mdx/lib/core.js';
|
import type { PluggableList } from '@mdx-js/mdx/lib/core.js';
|
||||||
import type { Options as MdxRollupPluginOptions } from '@mdx-js/rollup';
|
import type { Options as MdxRollupPluginOptions } from '@mdx-js/rollup';
|
||||||
import type { AstroConfig, MarkdownAstroData } from 'astro';
|
import type { AstroConfig, MarkdownAstroData } from 'astro';
|
||||||
import type { Literal, MemberExpression } from 'estree';
|
import type { Literal, MemberExpression } from 'estree';
|
||||||
import { visit } from 'unist-util-visit';
|
|
||||||
import { visit as estreeVisit } from 'estree-util-visit';
|
import { visit as estreeVisit } from 'estree-util-visit';
|
||||||
import { bold, yellow } from 'kleur/colors';
|
import { bold, yellow } from 'kleur/colors';
|
||||||
|
import type { Image } from 'mdast';
|
||||||
|
import { pathToFileURL } from 'node:url';
|
||||||
import rehypeRaw from 'rehype-raw';
|
import rehypeRaw from 'rehype-raw';
|
||||||
import remarkGfm from 'remark-gfm';
|
import remarkGfm from 'remark-gfm';
|
||||||
import remarkSmartypants from 'remark-smartypants';
|
import remarkSmartypants from 'remark-smartypants';
|
||||||
|
import { visit } from 'unist-util-visit';
|
||||||
import type { Data, VFile } from 'vfile';
|
import type { Data, VFile } from 'vfile';
|
||||||
import { MdxOptions } from './index.js';
|
import { MdxOptions } from './index.js';
|
||||||
import { rehypeInjectHeadingsExport } from './rehype-collect-headings.js';
|
import { rehypeInjectHeadingsExport } from './rehype-collect-headings.js';
|
||||||
import rehypeMetaString from './rehype-meta-string.js';
|
import rehypeMetaString from './rehype-meta-string.js';
|
||||||
import remarkPrism from './remark-prism.js';
|
import remarkPrism from './remark-prism.js';
|
||||||
import remarkShiki from './remark-shiki.js';
|
import remarkShiki from './remark-shiki.js';
|
||||||
import { jsToTreeNode, isRelativePath } from './utils.js';
|
import { isRelativePath, jsToTreeNode } from './utils.js';
|
||||||
import { pathToFileURL } from 'node:url';
|
|
||||||
|
|
||||||
export function recmaInjectImportMetaEnvPlugin({
|
export function recmaInjectImportMetaEnvPlugin({
|
||||||
importMetaEnv,
|
importMetaEnv,
|
||||||
|
|
|
@ -6,6 +6,7 @@ import rehypeEscape from './rehype-escape.js';
|
||||||
import rehypeExpressions from './rehype-expressions.js';
|
import rehypeExpressions from './rehype-expressions.js';
|
||||||
import rehypeIslands from './rehype-islands.js';
|
import rehypeIslands from './rehype-islands.js';
|
||||||
import rehypeJsx from './rehype-jsx.js';
|
import rehypeJsx from './rehype-jsx.js';
|
||||||
|
import toRemarkContentRelImageError from './remark-content-rel-image-error.js';
|
||||||
import remarkEscape from './remark-escape.js';
|
import remarkEscape from './remark-escape.js';
|
||||||
import { remarkInitializeAstroData } from './remark-initialize-astro-data.js';
|
import { remarkInitializeAstroData } from './remark-initialize-astro-data.js';
|
||||||
import remarkMarkAndUnravel from './remark-mark-and-unravel.js';
|
import remarkMarkAndUnravel from './remark-mark-and-unravel.js';
|
||||||
|
@ -14,7 +15,6 @@ import remarkPrism from './remark-prism.js';
|
||||||
import scopedStyles from './remark-scoped-styles.js';
|
import scopedStyles from './remark-scoped-styles.js';
|
||||||
import remarkShiki from './remark-shiki.js';
|
import remarkShiki from './remark-shiki.js';
|
||||||
import remarkUnwrap from './remark-unwrap.js';
|
import remarkUnwrap from './remark-unwrap.js';
|
||||||
import toRemarkContentRelImageError from './remark-content-rel-image-error.js';
|
|
||||||
|
|
||||||
import rehypeRaw from 'rehype-raw';
|
import rehypeRaw from 'rehype-raw';
|
||||||
import rehypeStringify from 'rehype-stringify';
|
import rehypeStringify from 'rehype-stringify';
|
||||||
|
|
Loading…
Reference in a new issue