feat: scaffold Astro + Tailwind project
This commit is contained in:
24
node_modules/astro/dist/core/create-vite.d.ts
generated
vendored
Normal file
24
node_modules/astro/dist/core/create-vite.d.ts
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import nodeFs from 'node:fs';
|
||||
import * as vite from 'vite';
|
||||
import type { AstroSettings, RoutesList } from '../types/astro.js';
|
||||
import type { AstroLogger } from './logger/core.js';
|
||||
type CreateViteOptions = {
|
||||
settings: AstroSettings;
|
||||
logger: AstroLogger;
|
||||
mode: string;
|
||||
fs?: typeof nodeFs;
|
||||
routesList: RoutesList;
|
||||
sync: boolean;
|
||||
} & ({
|
||||
command: 'dev';
|
||||
} | {
|
||||
command: 'build';
|
||||
});
|
||||
/**
|
||||
* Clear the crawlFrameworkPkgs cache. Call this when node_modules may have
|
||||
* changed (e.g. after a dev server restart triggered by config/lockfile change).
|
||||
*/
|
||||
export declare function clearCrawlCache(): void;
|
||||
/** Return a base vite config as a common starting point for all Vite commands. */
|
||||
export declare function createVite(commandConfig: vite.InlineConfig, { settings, logger, mode, command, fs, sync, routesList }: CreateViteOptions): Promise<vite.InlineConfig>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user