0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00

[ci] format

This commit is contained in:
Emanuele Stoppa 2024-06-12 10:29:16 +00:00 committed by astrobot-houston
parent e4fc2a0baf
commit a8c7ceca43

View file

@ -6,6 +6,7 @@ import { crawlFrameworkPkgs } from 'vitefu';
import type { AstroSettings } from '../@types/astro.js'; import type { AstroSettings } from '../@types/astro.js';
import { getAssetsPrefix } from '../assets/utils/getAssetsPrefix.js'; import { getAssetsPrefix } from '../assets/utils/getAssetsPrefix.js';
import astroAssetsPlugin from '../assets/vite-plugin-assets.js'; import astroAssetsPlugin from '../assets/vite-plugin-assets.js';
import astroContainer from '../container/vite-plugin-container.js';
import { import {
astroContentAssetPropagationPlugin, astroContentAssetPropagationPlugin,
astroContentImportPlugin, astroContentImportPlugin,
@ -38,7 +39,6 @@ import { createViteLogger } from './logger/vite.js';
import { vitePluginMiddleware } from './middleware/vite-plugin.js'; import { vitePluginMiddleware } from './middleware/vite-plugin.js';
import { joinPaths } from './path.js'; import { joinPaths } from './path.js';
import { isObject } from './util.js'; import { isObject } from './util.js';
import astroContainer from "../container/vite-plugin-container.js";
interface CreateViteOptions { interface CreateViteOptions {
settings: AstroSettings; settings: AstroSettings;
@ -158,7 +158,7 @@ export async function createVite(
astroDevToolbar({ settings, logger }), astroDevToolbar({ settings, logger }),
vitePluginFileURL({}), vitePluginFileURL({}),
astroInternationalization({ settings }), astroInternationalization({ settings }),
astroContainer() astroContainer(),
], ],
publicDir: fileURLToPath(settings.config.publicDir), publicDir: fileURLToPath(settings.config.publicDir),
root: fileURLToPath(settings.config.root), root: fileURLToPath(settings.config.root),