Skip to content

Commit

Permalink
fix: 0.4 type (#4980)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahabhgk authored Nov 21, 2023
1 parent 209c5e7 commit 84b6b73
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 84b6b73

Please sign in to comment.