Skip to content

monolayer / config / defineConfig

Function: defineConfig()

defineConfig(config): MonolayerConfig

Defines the monolayer configuration.

Parameters

ParameterType
configMonolayerConfiguration

Returns

MonolayerConfig

Example

In the monolayer.config.ts file in the root of your project (where package.json is located), you can define the configuration like this:

ts
export default defineConfig({
	databases: "app/db/databases.ts",
});