@vercel/backends 0.8.15 → 0.8.17

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.
Files changed (2) hide show
  1. package/dist/index.mjs +6 -4
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -1584,10 +1584,12 @@ const maybeDoBuildCommand = async (args, downloadResult) => {
1584
1584
  let entrypoint;
1585
1585
  if (buildCommandResult && outputSetting) if (outputSetting) {
1586
1586
  const _outputDir = join(args.workPath, outputSetting);
1587
- const _entrypoint = await findEntrypointInOutputDir(_outputDir);
1588
- if (_entrypoint) {
1589
- outputDir = _outputDir;
1590
- entrypoint = _entrypoint;
1587
+ if (resolve(_outputDir) !== resolve(args.workPath)) {
1588
+ const _entrypoint = await findEntrypointInOutputDir(_outputDir);
1589
+ if (_entrypoint) {
1590
+ outputDir = _outputDir;
1591
+ entrypoint = _entrypoint;
1592
+ }
1591
1593
  }
1592
1594
  } else for (const outputDirectory of [
1593
1595
  "dist",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/backends",
3
- "version": "0.8.15",
3
+ "version": "0.8.17",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.mjs",
6
6
  "homepage": "https://vercel.com/docs",
@@ -36,7 +36,7 @@
36
36
  "srvx": "0.8.9",
37
37
  "tsx": "4.21.0",
38
38
  "zod": "3.22.4",
39
- "@vercel/build-utils": "13.31.0"
39
+ "@vercel/build-utils": "13.32.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/express": "5.0.3",