nitro-nightly 3.0.1-20251104-010239-18820e2a → 3.0.1-20251104-010441-737f4e6e
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/_build/common.mjs
CHANGED
|
@@ -767,7 +767,7 @@ async function writeBuildInfo(nitro) {
|
|
|
767
767
|
const lastBuild = resolve$1(nitro.options.rootDir, "node_modules/.nitro/last-build");
|
|
768
768
|
await mkdir(dirname(lastBuild), { recursive: true });
|
|
769
769
|
await unlink(lastBuild).catch(() => {});
|
|
770
|
-
await symlink(nitro.options.output.dir, lastBuild).catch(
|
|
770
|
+
await symlink(nitro.options.output.dir, lastBuild).catch(() => symlink(nitro.options.output.dir, lastBuild)).catch(() => {});
|
|
771
771
|
return buildInfo;
|
|
772
772
|
}
|
|
773
773
|
|
|
@@ -65,7 +65,7 @@ const getViteRollupConfig = (ctx) => {
|
|
|
65
65
|
}),
|
|
66
66
|
!ctx._isRolldown && inject(base.env.inject)
|
|
67
67
|
].filter(Boolean),
|
|
68
|
-
transform: { inject: base.env.inject },
|
|
68
|
+
...ctx._isRolldown ? { transform: { inject: base.env.inject } } : {},
|
|
69
69
|
treeshake: { moduleSideEffects(id) {
|
|
70
70
|
const normalizedId = normalize$1(id);
|
|
71
71
|
const idWithoutNodeModules = normalizedId.split("node_modules/").pop();
|
package/package.json
CHANGED