Skip to main content
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.5/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