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

x/deno2node/src/deps.deno.ts>Directory#addSourceFilesAtPaths

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

Add source files based on file globs.

Parameters

fileGlobs: string | ReadonlyArray<string>
  • File glob or globs to add files based on.

Returns

The matched source files.