Skip to content

Commit

Permalink
chore: more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Oct 30, 2024
1 parent 61679ab commit a6d6e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/ssr/fetchModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export async function fetchModule(
url = unwrapId(url)

const mod = await environment.moduleGraph.ensureEntryFromUrl(url)
const cached = !!mod?.transformResult
const cached = !!mod.transformResult

// if url is already cached, we can just confirm it's also cached on the server
if (options.cached && cached) {
Expand Down

0 comments on commit a6d6e77

Please sign in to comment.