nitro-nightly 3.0.1-20251204-201435-0c3150df → 3.0.1-20251209-110208-9b276e11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -365,7 +365,7 @@ function createNitroEnvironment(ctx) {
|
|
|
365
365
|
...ctx.rollupConfig.base.noExternal
|
|
366
366
|
] : true,
|
|
367
367
|
conditions: ctx.nitro.options.exportConditions,
|
|
368
|
-
externalConditions: ctx.nitro.options.exportConditions
|
|
368
|
+
externalConditions: ctx.nitro.options.exportConditions?.filter((c) => !/browser|wasm/.test(c))
|
|
369
369
|
},
|
|
370
370
|
dev: { createEnvironment: (envName, envConfig) => createFetchableDevEnvironment(envName, envConfig, getEnvRunner(ctx), resolve(runtimeDir, "internal/vite/dev-entry.mjs")) }
|
|
371
371
|
};
|
|
@@ -381,9 +381,9 @@ function createServiceEnvironment(ctx, name, serviceConfig) {
|
|
|
381
381
|
emptyOutDir: true
|
|
382
382
|
},
|
|
383
383
|
resolve: {
|
|
384
|
-
noExternal: ctx.nitro.options.dev ?
|
|
384
|
+
noExternal: ctx.nitro.options.dev ? void 0 : [/react/],
|
|
385
385
|
conditions: ctx.nitro.options.exportConditions,
|
|
386
|
-
externalConditions: ctx.nitro.options.exportConditions
|
|
386
|
+
externalConditions: ctx.nitro.options.exportConditions?.filter((c) => !/browser|wasm/.test(c))
|
|
387
387
|
},
|
|
388
388
|
dev: { createEnvironment: (envName, envConfig) => createFetchableDevEnvironment(envName, envConfig, getEnvRunner(ctx), tryResolve(serviceConfig.entry)) }
|
|
389
389
|
};
|
package/package.json
CHANGED