Skip to content

Commit 57503e4

Browse files
committed
refactor(vite): enable back nf3
1 parent 15e302c commit 57503e4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/build/vite/env.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ export function createNitroEnvironment(
4242
noExternal: ctx.nitro!.options.dev
4343
? // Workaround for dev: external dependencies are not resolvable with respect to nodeModulePaths
4444
new RegExp(runtimeDependencies.join("|"))
45-
: // Workaround for build: externals tracing is unstable
46-
(ctx.nitro!.options.noExternals === false ? undefined : true), // prettier-ignore
45+
: undefined,
4746
conditions: ctx.nitro!.options.exportConditions,
4847
externalConditions: ctx.nitro!.options.exportConditions,
4948
},

0 commit comments

Comments
 (0)