Skip to content

API reference / @backpack/vite-plugin-lambda / VitePluginLambdaConfig

Interface: VitePluginLambdaConfig

Properties

appPath

ts
appPath: string;

The path to your server script, e.g. server.ts


exportName?

ts
optional exportName: string;

The name of the exported symbol that represents the Express.js instance.

Default Value

"default"


initAppOnBoot?

ts
optional initAppOnBoot: boolean;

Whether to run your server script directly on startup.