Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.16.1/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: ['!#', '#!']})