Skip to content

Commit

Permalink
chore: typo (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
iiio2 authored Oct 22, 2024
1 parent 2c27d2a commit f6ceb50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rspack/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function getRspackPlugin<UserOptions = Record<string, never>>(
return (userOptions?: UserOptions): RspackPluginInstance => {
return {
apply(compiler) {
// We need the prefix of virtual modules to be an absolute path so rspack let's us load them (even if it's made up)
// We need the prefix of virtual modules to be an absolute path so rspack lets us load them (even if it's made up)
// In the loader we strip the made up prefix path again
const VIRTUAL_MODULE_PREFIX = resolve(compiler.options.context ?? process.cwd(), 'node_modules/.virtual')

Expand Down

0 comments on commit f6ceb50

Please sign in to comment.