UNPKG

@joker.front/cli

Version:

The Next-Generation Front-End Toolchain: Swift, Efficient, and Adaptive.

9 lines (8 loc) 463 B
import { ResolvedConfig } from "../config"; import { Plugin } from "../plugin"; export type WorkerType = "classic" | "module" | "ignore"; export declare const WORKER_FILE_ID = "worker_file"; export declare function isWorkerRequest(id: string): boolean; export declare const workerAssetUrlRE: RegExp; export declare function wokerPlugin(config: ResolvedConfig): Plugin; export declare function workerFileToUrl(config: ResolvedConfig, id: string): Promise<string>;