Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/bundler/cache.ts>cache

A Bundler with the web in mind.
Go to Latest
function cache
import { cache } from "https://deno.land/x/bundler@0.7.0/cache.ts";

API for deno cache Fetches path files recusively and caches them to deno cache dir.

Parameters

filePath: string
optional
unnamed 1: { importMap?: ImportMap; reload?: boolean | string[]; compilerOptions?: ts.CompilerOptions; } = [UNSUPPORTED]