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

x/bundler/bundler.ts>Bundler#hasCache

A Bundler with the web in mind.
Go to Latest
method Bundler.prototype.hasCache
import { Bundler } from "https://deno.land/x/bundler@0.6.2/bundler.ts";

returns true if an entry exists in context.cache or cacheFile mtime is bigger than sourceFile mtime

Parameters

bundleInput: string
input: string
context: Context