@vercel/microfrontends
Version:
Defines configuration and utilities for microfrontends development
19 lines (16 loc) • 692 B
TypeScript
import { Config } from '@sveltejs/kit';
interface WithMicrofrontendsOptions {
/**
* Explicitly set the name of the application instead of using the name from the package.json.
*/
appName?: string;
/**
* @deprecated Use VC_MICROFRONTENDS_CONFIG_FILE_NAME instead. This option is
* deprecated and will be removed in a future release. The env var enables the
* vercel build to also read the custom config file / path.
* @see https://vercel.com/docs/microfrontends/configuration#file-naming
*/
configPath?: string;
}
declare function withMicrofrontends(config: Config, opts?: WithMicrofrontendsOptions): Config;
export { withMicrofrontends };