import { type BuildOptions } from "https://deno.land/x/dnt@0.35.0/mod.ts";
Properties
Create declaration files.
Set this to "inline" in order to emit declaration files beside the .js files in both the esm and cjs folders.
optional
mappings: SpecifierMappingsSpecifiers 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: PackageJsonObject
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; emitDecoratorMetadata?: boolean; }Optional compiler options.