import type { Plugin } from 'esbuild'; import type { LwrGlobalConfig } from '@lwrjs/types'; /** * Creates an esbuild plugin that generates a server build module * * @remarks * The generated server build module contains: * - normalized lwr global config(without normalized directories and after config hooks are applied) * - runtime environment(after config hooks are applied) * - global data(after config hooks are applied) * - lwr services(ie. module providers) with static imports * - route handlers with static imports * * @param config - programmatic global config * @returns esbuild plugin */ export default function buildLwrServer(config?: LwrGlobalConfig, buildDir?: string): Plugin; //# sourceMappingURL=build-server-plugin.d.ts.map