import { type dnt } from "https://deno.land/x/upstash_redis@v1.15.0/deps.ts";
const { BuildOptions } = dnt;
Properties
entryPoints: (string | EntryPoint)[]
Entrypoint(s) to the Deno module. Ex. ./mod.ts
shims: ShimOptions
Shims to use.
Skip outputting the canonical TypeScript in the output directory before emitting.
Glob pattern to use to find tests files. Defaults to deno test
's pattern.
Specifiers to map from and to.
This can be used to create a node specific file:
mappings: {
"./file.deno.ts": "./file.node.ts",
}
Or map a specifier to an npm package:
mappings: {
"https://deno.land/x/code_block_writer@11.0.0/mod.ts": {
name: "code-block-writer",
version: "^11.0.0",
}
Package.json output. You may override dependencies and dev dependencies in here.
Package manager used to install dependencies and run npm scripts. This also can be an absolute path to the executable file of package manager.
optional
compilerOptions: { importHelpers?: boolean; target?: ScriptTarget; sourceMap?: SourceMapOptions; inlineSources?: boolean; lib?: LibName[]; skipLibCheck?: boolean; }Optional compiler options.