Skip to main content
Module

x/scaffold/src/template/load_import.ts>loadImport

scaffold your next project with style and 💗
Latest
function loadImport
import { loadImport } from "https://deno.land/x/scaffold@0.3.0/src/template/load_import.ts";

Load the import dynamically.

Type Parameters

optional
Config extends object = Record<string, unknown>

Parameters

source: string

The source directory to load the template configuration from.

name: string

Returns

Promise<LoadConfigResult<Config> | undefined>