mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
[ci] format
This commit is contained in:
parent
e4fc2a0baf
commit
a8c7ceca43
1 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||||
|
|
Loading…
Add table
Reference in a new issue