Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: only transpile 'nuxt' in build mode
  • Loading branch information
danielroe committed May 10, 2022
commit 05959991c30972ccdb6a4ed5fc35a012c4a88a64
2 changes: 1 addition & 1 deletion packages/vite/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export async function buildServer (ctx: ViteBuildContext) {
/\.(es|esm|esm-browser|esm-bundler).js$/,
'/__vue-jsx',
'#app',
/nuxt\/(dist|src|app)/
...ctx.nuxt.options.dev ? [] : ['nuxt']
]
},
build: {
Expand Down