create project
This commit is contained in:
28
kitabcitab/node_modules/next/dist/build/webpack/loaders/next-app-loader.d.ts
generated
vendored
Normal file
28
kitabcitab/node_modules/next/dist/build/webpack/loaders/next-app-loader.d.ts
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
import type webpack from 'webpack';
|
||||
import type { ValueOf } from '../../../shared/lib/constants';
|
||||
declare const FILE_TYPES: {
|
||||
readonly layout: "layout";
|
||||
readonly template: "template";
|
||||
readonly error: "error";
|
||||
readonly loading: "loading";
|
||||
readonly head: "head";
|
||||
readonly 'not-found': "not-found";
|
||||
};
|
||||
declare type ComponentModule = () => any;
|
||||
declare type ModuleReference = [componentModule: ComponentModule, filePath: string];
|
||||
export declare type ComponentsType = {
|
||||
readonly [componentKey in ValueOf<typeof FILE_TYPES>]?: ModuleReference;
|
||||
} & {
|
||||
readonly page?: ModuleReference;
|
||||
};
|
||||
declare const nextAppLoader: webpack.LoaderDefinitionFunction<{
|
||||
name: string;
|
||||
pagePath: string;
|
||||
appDir: string;
|
||||
appPaths: string[] | null;
|
||||
pageExtensions: string[];
|
||||
rootDir?: string;
|
||||
tsconfigPath?: string;
|
||||
isDev?: boolean;
|
||||
}>;
|
||||
export default nextAppLoader;
|
||||
Reference in New Issue
Block a user