File tree Expand file tree Collapse file tree 3 files changed +19
-15
lines changed Expand file tree Collapse file tree 3 files changed +19
-15
lines changed Original file line number Diff line number Diff line change @@ -655,6 +655,14 @@ export type ChunkLoadingGlobal = string;
655
655
// @public
656
656
export type ChunkLoadingType = string | "jsonp" | "import-scripts" | "require" | "async-node" | "import";
657
657
658
+ // @public (undocumented)
659
+ export type ChunkPathData = {
660
+ id?: string;
661
+ name?: string;
662
+ hash?: string;
663
+ contentHash?: Record<string, string>;
664
+ };
665
+
658
666
// @public (undocumented)
659
667
export class CircularDependencyRspackPlugin extends RspackBuiltinPlugin {
660
668
constructor(options: CircularDependencyRspackPluginOptions);
@@ -5521,25 +5529,17 @@ export type ParserOptionsByModuleTypeUnknown = {
5521
5529
export type Path = string;
5522
5530
5523
5531
// @public (undocumented)
5524
- type PathData = {
5532
+ export type PathData = {
5525
5533
filename?: string;
5526
5534
hash?: string;
5527
5535
contentHash?: string;
5528
5536
runtime?: string;
5529
5537
url?: string;
5530
5538
id?: string;
5531
- chunk?: Chunk | PathDataChunkLike ;
5539
+ chunk?: Chunk | ChunkPathData ;
5532
5540
contentHashType?: string;
5533
5541
};
5534
5542
5535
- // @public (undocumented)
5536
- type PathDataChunkLike = {
5537
- id?: string;
5538
- name?: string;
5539
- hash?: string;
5540
- contentHash?: Record<string, string>;
5541
- };
5542
-
5543
5543
// @public
5544
5544
export type Pathinfo = boolean | "verbose";
5545
5545
@@ -6247,8 +6247,10 @@ declare namespace rspackExports {
6247
6247
Asset,
6248
6248
AssetInfo,
6249
6249
Assets,
6250
+ ChunkPathData,
6250
6251
CompilationParams,
6251
6252
LogEntry,
6253
+ PathData,
6252
6254
Compilation,
6253
6255
Compiler,
6254
6256
MultiCompilerOptions,
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ export interface Asset {
79
79
info : AssetInfo ;
80
80
}
81
81
82
- export type PathDataChunkLike = {
82
+ export type ChunkPathData = {
83
83
id ?: string ;
84
84
name ?: string ;
85
85
hash ?: string ;
@@ -93,7 +93,7 @@ export type PathData = {
93
93
runtime ?: string ;
94
94
url ?: string ;
95
95
id ?: string ;
96
- chunk ?: Chunk | PathDataChunkLike ;
96
+ chunk ?: Chunk | ChunkPathData ;
97
97
contentHashType ?: string ;
98
98
} ;
99
99
Original file line number Diff line number Diff line change 1
1
// this is a hack to be compatible with plugin which detect webpack's version
2
- const rspackVersion = RSPACK_VERSION as string ;
3
- const version = WEBPACK_VERSION as string ;
2
+ const rspackVersion = RSPACK_VERSION ;
3
+ const version = WEBPACK_VERSION ;
4
4
5
5
export { rspackVersion , version } ;
6
6
7
7
export type {
8
8
Asset ,
9
9
AssetInfo ,
10
10
Assets ,
11
+ ChunkPathData ,
11
12
CompilationParams ,
12
- LogEntry
13
+ LogEntry ,
14
+ PathData
13
15
} from "./Compilation" ;
14
16
export { Compilation } from "./Compilation" ;
15
17
export { Compiler } from "./Compiler" ;
You can’t perform that action at this time.
0 commit comments