@vercel/next 4.17.0 → 4.17.1

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.
@@ -9721,8 +9721,14 @@ async function writeDeterministicRoutesManifest(distDir) {
9721
9721
  async function getProjectEnvFiles(projectDir) {
9722
9722
  const envFiles = [];
9723
9723
  const projectFiles = (await import_promises.default.readdir(projectDir).catch(() => [])).sort();
9724
+ const productionEnvFiles = /* @__PURE__ */ new Set([
9725
+ ".env.production.local",
9726
+ ".env.local",
9727
+ ".env.production",
9728
+ ".env"
9729
+ ]);
9724
9730
  for (const file of projectFiles) {
9725
- const isEnv = file === ".env" || file.startsWith(".env.");
9731
+ const isEnv = productionEnvFiles.has(file);
9726
9732
  if (!isEnv) {
9727
9733
  continue;
9728
9734
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "4.17.0",
3
+ "version": "4.17.1",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
@@ -16,7 +16,7 @@
16
16
  "@vercel/nft": "1.5.0"
17
17
  },
18
18
  "devDependencies": {
19
- "@next-community/adapter-vercel": "0.0.1-beta.19",
19
+ "@next-community/adapter-vercel": "0.0.1-beta.20",
20
20
  "@types/aws-lambda": "8.10.19",
21
21
  "@types/buffer-crc32": "0.2.0",
22
22
  "@types/bytes": "3.1.1",