Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno2node/src/deps.deno.ts>Project#addSourceFilesFromTsConfig

Compile your Deno project to run on Node.js.
Go to Latest
method Project.prototype.addSourceFilesFromTsConfig
import { Project } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";

Adds all the source files from the specified tsconfig.json.

Note that this is done by default when specifying a tsconfig file in the constructor and not explicitly setting the skipAddingFilesFromTsConfig option to true.

Parameters

tsConfigFilePath: string
  • File path to the tsconfig.json file.