UNPKG

@serwist/build

Version:

A module that integrates into your build process, helping you generate a manifest of local files that should be precached.

7 lines (6 loc) 280 B
export class SerwistConfigError extends Error { constructor({ moduleName, message }: { moduleName?: string; message?: string }) { super(`Received an invalid ${moduleName ?? "Serwist"} configuration: ${message}`); Object.setPrototypeOf(this, new.target.prototype); } }