Skip to content

Commit

Permalink
fix: 0.4 type
Browse files Browse the repository at this point in the history
  • Loading branch information
ahabhgk committed Nov 21, 2023
1 parent f930e46 commit 816fd94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export class RouterPlugin {
}

const { webpack } = compiler;
const isRspack = webpack.rspackVersion;
const isRspack = 'rspackVersion' in webpack;
const { Compilation, sources } = webpack;
const { RawSource } = sources;

Expand Down

0 comments on commit 816fd94

Please sign in to comment.