We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09509b9 commit 17371adCopy full SHA for 17371ad
packages/runtime/src/templates/requireHooks.ts
@@ -84,7 +84,7 @@ const resolveRequireHooks = () => {
84
85
// resolve require hooks with module paths
86
requireHooks.forEach((mode) => {
87
- mode.forEach((hook, path) => {
+ mode.forEach((path, hook) => {
88
try {
89
const resolvedPath = require.resolve(path, opts)
90
mode.set(hook, resolvedPath)
0 commit comments