nitro-nightly 3.0.1-20251106-140852-29edf873 → 3.0.1-20251106-150349-6049d811
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.
- package/dist/_presets.mjs +2 -0
- package/package.json +1 -1
package/dist/_presets.mjs
CHANGED
|
@@ -678,6 +678,7 @@ const cloudflarePages = defineNitroPreset({
|
|
|
678
678
|
hooks: {
|
|
679
679
|
"build:before": async (nitro) => {
|
|
680
680
|
await enableNodeCompat(nitro);
|
|
681
|
+
if (nitro.options.builder?.includes("rolldown")) nitro.options.minify = false;
|
|
681
682
|
},
|
|
682
683
|
async compiled(nitro) {
|
|
683
684
|
await writeWranglerConfig(nitro, "pages");
|
|
@@ -748,6 +749,7 @@ const cloudflareModule = defineNitroPreset({
|
|
|
748
749
|
hooks: {
|
|
749
750
|
"build:before": async (nitro) => {
|
|
750
751
|
await enableNodeCompat(nitro);
|
|
752
|
+
if (nitro.options.builder?.includes("rolldown")) nitro.options.minify = false;
|
|
751
753
|
},
|
|
752
754
|
async compiled(nitro) {
|
|
753
755
|
await writeWranglerConfig(nitro, "module");
|
package/package.json
CHANGED