Skip to content

Commit 3c4b79e

Browse files
authored
fix(rspack): plugin.__vfs is undefined (#439)
1 parent e35f889 commit 3c4b79e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rspack/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export function getRspackPlugin<UserOptions = Record<string, never>>(
6969
const vfs = new FakeVirtualModulesPlugin(plugin)
7070
vfs.apply(compiler)
7171
plugin.__vfsModules = new Set()
72+
plugin.__vfs = vfs
7273

7374
compiler.hooks.compilation.tap(plugin.name, (compilation, { normalModuleFactory }) => {
7475
normalModuleFactory.hooks.resolve.tapPromise(plugin.name, async (resolveData) => {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy