Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
12
node_modules/next/dist/build/webpack/loaders/next-middleware-loader.d.ts
generated
vendored
Normal file
12
node_modules/next/dist/build/webpack/loaders/next-middleware-loader.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import type { MiddlewareMatcher } from '../../analysis/get-page-static-info';
|
||||
export type MiddlewareLoaderOptions = {
|
||||
absolutePagePath: string;
|
||||
page: string;
|
||||
rootDir: string;
|
||||
matchers?: string;
|
||||
preferredRegion: string | string[] | undefined;
|
||||
middlewareConfig: string;
|
||||
};
|
||||
export declare function encodeMatchers(matchers: MiddlewareMatcher[]): string;
|
||||
export declare function decodeMatchers(encodedMatchers: string): MiddlewareMatcher[];
|
||||
export default function middlewareLoader(this: any): Promise<string>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue