nitropack-nightly 2.12.5-20250724-162330.adcd3954 → 2.12.5-20250726-101003.c3121977

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.
@@ -1,4 +1,4 @@
1
- const version = "2.12.5-20250724-162330.adcd3954";
1
+ const version = "2.12.5-20250726-101003.c3121977";
2
2
 
3
3
  const compatibilityChanges = [
4
4
  {
@@ -12,7 +12,7 @@ const vercel = defineNitroPreset(
12
12
  entry: "./runtime/vercel",
13
13
  output: {
14
14
  dir: "{{ rootDir }}/.vercel/output",
15
- serverDir: "{{ output.dir }}/functions/__nitro.func",
15
+ serverDir: "{{ output.dir }}/functions/__fallback.func",
16
16
  publicDir: "{{ output.dir }}/static/{{ baseURL }}"
17
17
  },
18
18
  commands: {
@@ -41,7 +41,7 @@ const vercelEdge = defineNitroPreset(
41
41
  exportConditions: ["edge-light"],
42
42
  output: {
43
43
  dir: "{{ rootDir }}/.vercel/output",
44
- serverDir: "{{ output.dir }}/functions/__nitro.func",
44
+ serverDir: "{{ output.dir }}/functions/__fallback.func",
45
45
  publicDir: "{{ output.dir }}/static/{{ baseURL }}"
46
46
  },
47
47
  commands: {
@@ -178,7 +178,7 @@ function generateBuildConfig(nitro, o11Routes) {
178
178
  }
179
179
  ] : [],
180
180
  ...(o11Routes || []).map((route) => ({
181
- src: route.src,
181
+ src: joinURL(nitro.options.baseURL, route.src),
182
182
  dest: "/" + route.dest
183
183
  })),
184
184
  ...nitro.options.routeRules["/**"]?.isr ? [] : [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitropack-nightly",
3
- "version": "2.12.5-20250724-162330.adcd3954",
3
+ "version": "2.12.5-20250726-101003.c3121977",
4
4
  "description": "Build and Deploy Universal JavaScript Servers",
5
5
  "repository": "nitrojs/nitro",
6
6
  "license": "MIT",