Skip to content

Commit

Permalink
fix(vite): narrow vite-node inline pattern (#21224)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed May 28, 2023
1 parent 9723add commit b7547c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/vite-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function createViteNodeApp (ctx: ViteBuildContext, invalidates: Set<string> = ne
const node: ViteNodeServer = new ViteNodeServer(viteServer, {
deps: {
inline: [
/\/(nuxt|nuxt3)\//,
/\/node_modules\/(.*\/)?(nuxt|nuxt3)\//,
/^#/,
...transpile({ isServer: true, isDev: ctx.nuxt.options.dev })
]
Expand Down

0 comments on commit b7547c3

Please sign in to comment.