@vercel/static-build 32.0.0-snapshot-4bb5562899c1 → 32.0.0

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.js +5 -1
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -70983,7 +70983,11 @@ function removeExcludedFiles(output, excludeFiles, workPath) {
70983
70983
  return output;
70984
70984
  }
70985
70985
  async function collectStaticFiles(distPath, sourceRoot, meta, mountpoint, serviceName, excludeFiles, workPath) {
70986
- const ignore = import_path6.default.relative(sourceRoot, distPath) === "" ? import_static_builder.STATIC_EXCLUDED_FILES : [];
70986
+ const resolvedDistPath = import_path6.default.resolve(distPath);
70987
+ const publishingRoot = [workPath, sourceRoot].some(
70988
+ (rootPath) => import_path6.default.resolve(rootPath) === resolvedDistPath
70989
+ );
70990
+ const ignore = publishingRoot ? import_static_builder.STATIC_EXCLUDED_FILES : [];
70987
70991
  if (ignore.length > 0) {
70988
70992
  (0, import_build_utils4.debug)(`Using ignore: ${JSON.stringify(ignore)}`);
70989
70993
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/static-build",
3
- "version": "32.0.0-snapshot-4bb5562899c1",
3
+ "version": "32.0.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/build-step",
@@ -16,10 +16,10 @@
16
16
  "ts-morph": "12.0.0",
17
17
  "@vercel/gatsby-plugin-vercel-analytics": "1.0.12",
18
18
  "@vercel/static-config": "3.4.4",
19
- "@vercel/gatsby-plugin-vercel-builder": "2.2.92-snapshot-4bb5562899c1"
19
+ "@vercel/gatsby-plugin-vercel-builder": "2.2.92"
20
20
  },
21
21
  "peerDependencies": {
22
- "@vercel/build-utils": "15.8.0-snapshot-4bb5562899c1"
22
+ "@vercel/build-utils": "15.8.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/aws-lambda": "8.10.64",
@@ -42,9 +42,9 @@
42
42
  "vitest": "4.1.10",
43
43
  "@vercel-internals/builder-orchestration": "1.2.1",
44
44
  "@vercel/error-utils": "2.2.1",
45
- "@vercel/build-utils": "15.8.0-snapshot-4bb5562899c1",
46
45
  "@vercel/frameworks": "3.35.1",
47
- "@vercel/fs-detectors": "7.15.0-snapshot-4bb5562899c1",
46
+ "@vercel/build-utils": "15.8.0",
47
+ "@vercel/fs-detectors": "7.15.0",
48
48
  "@vercel/routing-utils": "6.6.1"
49
49
  },
50
50
  "scripts": {