nitro-nightly 3.1.0-20251028-160624-0b002649 → 3.1.0-20251028-163658-b34f0492
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.
|
@@ -326,11 +326,13 @@ const vercel = defineNitroPreset(
|
|
|
326
326
|
preview: ""
|
|
327
327
|
},
|
|
328
328
|
hooks: {
|
|
329
|
-
"
|
|
329
|
+
"build:before": async (nitro) => {
|
|
330
330
|
const runtime = await resolveVercelRuntime(nitro);
|
|
331
331
|
if (runtime.startsWith("bun") && !nitro.options.exportConditions.includes("bun")) {
|
|
332
332
|
nitro.options.exportConditions.push("bun");
|
|
333
333
|
}
|
|
334
|
+
},
|
|
335
|
+
"rollup:before": (nitro) => {
|
|
334
336
|
deprecateSWR(nitro);
|
|
335
337
|
},
|
|
336
338
|
async compiled(nitro) {
|
package/package.json
CHANGED