Skip to content

Commit 7b81210

Browse files
authoredOct 21, 2022
fix(ssr): resolve with isRequire true (#10569)
1 parent f148c18 commit 7b81210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/vite/src/node/ssr/ssrModuleLoader.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ async function instantiateModule(
126126
preserveSymlinks,
127127
isBuild: true,
128128
isProduction,
129-
isRequire: false,
129+
isRequire: true,
130130
root
131131
}
132132

0 commit comments

Comments
 (0)
Please sign in to comment.