UNPKG

@serwist/next

Version:

A module that integrates Serwist into your Next.js application.

13 lines 622 B
import type { NextConfig } from "next"; import type { InjectManifestOptions, InjectManifestOptionsComplete } from "./lib/types.js"; import { validateInjectManifestOptions } from "./lib/validator.js"; /** * Integrates Serwist into your Next.js app. * @param userOptions * @returns */ declare const withSerwistInit: (userOptions: InjectManifestOptions) => ((nextConfig?: NextConfig) => NextConfig); export default withSerwistInit; export { validateInjectManifestOptions }; export type { InjectManifestOptions as PluginOptions, InjectManifestOptionsComplete as PluginOptionsComplete }; //# sourceMappingURL=index.d.ts.map