Files
dealplustech/node_modules/astro/dist/core/create-vite.d.ts
Kunthawat Greethong 6562a1748f fix: Fix product page syntax errors
1. Remove duplicate/broken code in product tables section
2. Fix PostCSS config for Tailwind 4
3. Add @tailwindcss/postcss dependency
4. Remove --production flag from Dockerfile (sharp required)

All fixes enable successful Docker build with favicon working.
2026-03-03 14:57:46 +07:00

24 lines
813 B
TypeScript

import nodeFs from 'node:fs';
import * as vite from 'vite';
import type { AstroSettings, RoutesList } from '../types/astro.js';
import type { SSRManifest } from './app/types.js';
import type { Logger } from './logger/core.js';
type CreateViteOptions = {
settings: AstroSettings;
logger: Logger;
mode: string;
fs?: typeof nodeFs;
sync: boolean;
routesList: RoutesList;
manifest: SSRManifest;
} & ({
command: 'dev';
manifest: SSRManifest;
} | {
command: 'build';
manifest?: SSRManifest;
});
/** 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, manifest }: CreateViteOptions): Promise<vite.InlineConfig>;
export {};