Skip to content

Commit f06ecdc

Browse files
authored
chore: bump rspack-manifest-plugin to reuse type (#4259)
1 parent f85f5bf commit f06ecdc

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"rsbuild-dev-middleware": "0.1.2",
9090
"rslog": "^1.2.3",
9191
"rspack-chain": "^1.1.0",
92-
"rspack-manifest-plugin": "5.0.2",
92+
"rspack-manifest-plugin": "5.0.3",
9393
"sirv": "^3.0.0",
9494
"style-loader": "3.3.4",
9595
"tinyglobby": "^0.2.10",

packages/core/src/plugins/manifest.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Chunk } from '@rspack/core';
1+
import type { FileDescriptor } from 'rspack-manifest-plugin';
22
import { recursiveChunkEntryNames } from '../rspack/preload/helpers';
33
import type { RsbuildPlugin } from '../types';
44

@@ -27,13 +27,6 @@ type ManifestList = {
2727
allFiles: FilePath[];
2828
};
2929

30-
type FileDescriptor = {
31-
chunk?: Chunk;
32-
isInitial: boolean;
33-
name: string;
34-
path: string;
35-
};
36-
3730
const generateManifest =
3831
(htmlPaths: Record<string, string>) =>
3932
(_seed: Record<string, any>, files: FileDescriptor[]) => {

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)