Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

42
node_modules/@rspack/core/dist/Module.d.ts generated vendored Normal file
View File

@@ -0,0 +1,42 @@
import binding, { type AssetInfo } from "@rspack/binding";
import type { Source } from "../compiled/webpack-sources";
import type { ResourceData } from "./Resolver";
import "./BuildInfo";
export type ResourceDataWithData = ResourceData & {
data?: Record<string, any>;
};
export type CreateData = binding.JsCreateData;
export type ContextInfo = binding.ContextInfo;
export type ResolveData = binding.JsResolveData;
export declare class ContextModuleFactoryBeforeResolveData {
#private;
context: string;
request: string;
regExp: RegExp | undefined;
recursive: boolean;
static __from_binding(binding: binding.JsContextModuleFactoryBeforeResolveData): ContextModuleFactoryBeforeResolveData;
static __to_binding(data: ContextModuleFactoryBeforeResolveData): binding.JsContextModuleFactoryBeforeResolveData;
private constructor();
}
export type ContextModuleFactoryBeforeResolveResult = false | ContextModuleFactoryBeforeResolveData;
export declare class ContextModuleFactoryAfterResolveData {
#private;
resource: number;
context: string;
request: string;
regExp: RegExp | undefined;
recursive: boolean;
readonly dependencies: binding.Dependency[];
static __from_binding(binding: binding.JsContextModuleFactoryAfterResolveData): ContextModuleFactoryAfterResolveData;
static __to_binding(data: ContextModuleFactoryAfterResolveData): binding.JsContextModuleFactoryAfterResolveData;
private constructor();
}
export type ContextModuleFactoryAfterResolveResult = false | ContextModuleFactoryAfterResolveData;
declare module "@rspack/binding" {
interface Module {
identifier(): string;
originalSource(): Source | null;
emitFile(filename: string, source: Source, assetInfo?: AssetInfo): void;
}
}
export { Module } from "@rspack/binding";