@netlify/build 29.20.4 → 29.20.5

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.
@@ -13,9 +13,13 @@ export const getConstants = async function ({ configPath, buildDir, packagePath,
13
13
  // In monorepos this is the path that is used to point to a package that should be deployed
14
14
  PACKAGE_PATH: packagePath,
15
15
  // The directory where built serverless functions are placed before deployment
16
- FUNCTIONS_DIST: join(packagePath || '', functionsDistDir),
16
+ // only on local development join with the packagePath as this directory
17
+ // on buildbot this `functionsDistDir` is an absolute path to `/tmp/zisi-.....` so we cannot join it with the pacakgePath
18
+ FUNCTIONS_DIST: !isLocal ? functionsDistDir : join(packagePath || '', functionsDistDir),
17
19
  // The directory where built Edge Functions are placed before deployment
18
- EDGE_FUNCTIONS_DIST: join(packagePath || '', edgeFunctionsDistDir),
20
+ // only on local development join with the packagePath as this directory
21
+ // on buildbot this `functionsDistDir` is an absolute path to `/tmp/zisi-.....` so we cannot join it with the pacakgePath
22
+ EDGE_FUNCTIONS_DIST: !isLocal ? edgeFunctionsDistDir : join(packagePath || '', edgeFunctionsDistDir),
19
23
  // Path to the Netlify build cache folder
20
24
  CACHE_DIR: normalizedCacheDir,
21
25
  // Boolean indicating whether the build was run locally (Netlify CLI) or in the production CI
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build",
3
- "version": "29.20.4",
3
+ "version": "29.20.5",
4
4
  "description": "Netlify build module",
5
5
  "type": "module",
6
6
  "exports": "./lib/core/main.js",
@@ -148,5 +148,5 @@
148
148
  "module": "commonjs"
149
149
  }
150
150
  },
151
- "gitHead": "676328d0727b74cf9bd8e263b3b2fbfcefa281ac"
151
+ "gitHead": "8e215e93dc0654d30145e05286865f3cd0ecfc89"
152
152
  }