@serwist/build
Version:
A module that integrates into your build process, helping you generate a manifest of local files that should be precached.
32 lines (30 loc) • 1.17 kB
text/typescript
import { type Assignable, assertType, type Equals } from "./schema/assert-type.js";
import { basePartial } from "./schema/base.js";
import { SerwistConfigError, validationErrorMap } from "./schema/error.js";
import { getManifestOptions } from "./schema/get-manifest.js";
import { globPartial, optionalGlobDirectoryPartial, requiredGlobDirectoryPartial } from "./schema/glob.js";
import { baseInjectPartial, injectManifestOptions } from "./schema/inject-manifest.js";
import { manifestEntry } from "./schema/manifest-entry.js";
import { manifestTransform, manifestTransformResult } from "./schema/manifest-transform.js";
import { optionalSwDestPartial, requiredSwDestPartial } from "./schema/sw-dest.js";
import { asyncFn, fn } from "./schema/utils.js";
export {
assertType,
fn,
asyncFn,
basePartial,
globPartial,
baseInjectPartial as injectPartial,
injectManifestOptions,
getManifestOptions,
manifestEntry,
manifestTransform,
manifestTransformResult,
optionalGlobDirectoryPartial,
requiredGlobDirectoryPartial,
optionalSwDestPartial,
requiredSwDestPartial,
validationErrorMap,
SerwistConfigError,
};
export type { Assignable, Equals };