Skip to content

Commit

Permalink
chore: bump rspack-manifest-plugin to reuse type
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Dec 24, 2024
1 parent f85f5bf commit 08a1d09
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"rsbuild-dev-middleware": "0.1.2",
"rslog": "^1.2.3",
"rspack-chain": "^1.1.0",
"rspack-manifest-plugin": "5.0.2",
"rspack-manifest-plugin": "5.0.3",
"sirv": "^3.0.0",
"style-loader": "3.3.4",
"tinyglobby": "^0.2.10",
Expand Down
9 changes: 1 addition & 8 deletions packages/core/src/plugins/manifest.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Chunk } from '@rspack/core';
import type { FileDescriptor } from 'rspack-manifest-plugin';
import { recursiveChunkEntryNames } from '../rspack/preload/helpers';
import type { RsbuildPlugin } from '../types';

Expand Down Expand Up @@ -27,13 +27,6 @@ type ManifestList = {
allFiles: FilePath[];
};

type FileDescriptor = {
chunk?: Chunk;
isInitial: boolean;
name: string;
path: string;
};

const generateManifest =
(htmlPaths: Record<string, string>) =>
(_seed: Record<string, any>, files: FileDescriptor[]) => {
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 08a1d09

Please sign in to comment.