Skip to main content
Module

x/lume/deps/eta.ts>getConfig

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
function getConfig
import { getConfig } from "https://deno.land/x/lume@v1.15.2/deps/eta.ts";

Takes one or two partial (not necessarily complete) configuration objects, merges them 1 layer deep into eta.config, and returns the result

Parameters

override: PartialConfig

Partial configuration object

optional
baseConfig: EtaConfig

Partial configuration object to merge before override

Example

let customConfig = getConfig({tags: ['!#', '#!']})