(compiler: BundlerCompiler)
| 618 | } |
| 619 | // each compiler Rspack or Rsbuild creates, e.g. one for each environment |
| 620 | const applyRspack = (compiler: BundlerCompiler) => { |
| 621 | setRoot(compiler.context) |
| 622 | keepCompiler(compiler) |
| 623 | setEnvironment(environmentOf(compiler)) |
| 624 | } |
| 625 | const loadModule = (id: string) => { |
| 626 | if (id in modules) return modules[id] |
| 627 | const dir = storeDirOf() |
nothing calls this directly
no test coverage detected