Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix(vite-node): transform mode of Vue files (#5854)
Browse files Browse the repository at this point in the history
close #5543
  • Loading branch information
antfu committed Jul 14, 2022
1 parent 009d676 commit 4ba71c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/vite/src/vite-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ function createViteNodeMiddleware (ctx: ViteBuildContext) {
/^#/,
...ctx.nuxt.options.build.transpile as string[]
]
},
transformMode: {
ssr: [/.*/],
web: []
}
})
return async (event) => {
Expand Down

0 comments on commit 4ba71c6

Please sign in to comment.