Files
scrap/node_modules/next/dist/build/webpack/loaders/next-metadata-route-loader.d.ts
2024-09-24 03:52:46 +00:00

13 lines
395 B
TypeScript

import type webpack from 'webpack';
type MetadataRouteLoaderOptions = {
page: string;
filePath: string;
isDynamic: '1' | '0';
};
export declare function getFilenameAndExtension(resourcePath: string): {
name: string;
ext: string;
};
declare const nextMetadataRouterLoader: webpack.LoaderDefinitionFunction<MetadataRouteLoaderOptions>;
export default nextMetadataRouterLoader;