UNPKG

528 BTypeScriptView Raw
1import { Plugin } from 'rollup';
2/**
3 * rollup-plugin-remote-cdn
4 *
5 * Load import URLs from a remote CDN, sitting behind a local cache. The local
6 * cache acts as a go-between for the resolve & load step: when we get back a
7 * successful CDN resolution, we save the file to the local cache and then tell
8 * rollup that it's safe to load from the cache in the `load()` hook.
9 */
10export declare function rollupPluginDependencyCache({ installTypes, log, }: {
11 installTypes: boolean;
12 log: (url: string) => void;
13}): Plugin;