Skip to content

Commit

Permalink
fix(ssr): resolve with isRequire true (#10569)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Oct 21, 2022
1 parent f148c18 commit 7b81210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/ssr/ssrModuleLoader.ts
Expand Up @@ -126,7 +126,7 @@ async function instantiateModule(
preserveSymlinks,
isBuild: true,
isProduction,
isRequire: false,
isRequire: true,
root
}

Expand Down

0 comments on commit 7b81210

Please sign in to comment.