Skip to content

Commit

Permalink
chore(type): export ResolveData
Browse files Browse the repository at this point in the history
  • Loading branch information
9aoy committed Oct 21, 2024
1 parent d9551c5 commit 0ab17da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/rspack/etc/core.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4583,7 +4583,7 @@ type ResolveCallback = (err: null | ErrorWithDetails, res?: string | false, req?
type ResolveContext = {};

// @public (undocumented)
type ResolveData = {
export type ResolveData = {
contextInfo: ContextInfo;
context: string;
request: string;
Expand Down Expand Up @@ -4735,6 +4735,7 @@ declare namespace rspackExports {
Chunk,
ChunkGroup,
Module,
ResolveData,
MultiStats,
NormalModule,
NormalModuleFactory,
Expand Down
2 changes: 1 addition & 1 deletion packages/rspack/src/exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export { RspackOptionsApply, RspackOptionsApply as WebpackOptionsApply };

export type { Chunk } from "./Chunk";
export type { ChunkGroup } from "./ChunkGroup";
export type { Module } from "./Module";
export type { Module, ResolveData } from "./Module";
export { MultiStats } from "./MultiStats";
export { NormalModule } from "./NormalModule";
export type { NormalModuleFactory } from "./NormalModuleFactory";
Expand Down

0 comments on commit 0ab17da

Please sign in to comment.