@vercel/next 3.3.18 → 3.3.20

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 +1 -3
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -40138,7 +40138,6 @@ const async_sema_1 = __webpack_require__(7905);
40138
40138
  const escape_string_regexp_1 = __importDefault(__webpack_require__(3133));
40139
40139
  const find_up_1 = __importDefault(__webpack_require__(7130));
40140
40140
  const fs_extra_1 = __webpack_require__(2650);
40141
- const os_1 = __importDefault(__webpack_require__(2087));
40142
40141
  const path_1 = __importDefault(__webpack_require__(5622));
40143
40142
  const resolve_from_1 = __importDefault(__webpack_require__(7472));
40144
40143
  const semver_1 = __importDefault(__webpack_require__(1039));
@@ -40385,8 +40384,6 @@ const build = async ({ files, workPath, repoRootPath, entrypoint, config = {}, m
40385
40384
  target = await (0, create_serverless_config_1.default)(workPath, entryPath, nextVersion);
40386
40385
  }
40387
40386
  const env = { ...spawnOpts.env };
40388
- const memoryToConsume = Math.floor(os_1.default.totalmem() / 1024 ** 2) - 128;
40389
- env.NODE_OPTIONS = `--max_old_space_size=${memoryToConsume}`;
40390
40387
  env.NEXT_EDGE_RUNTIME_PROVIDER = 'vercel';
40391
40388
  if (target) {
40392
40389
  // Since version v10.0.8-canary.15 of Next.js the NEXT_PRIVATE_TARGET env
@@ -40680,6 +40677,7 @@ const build = async ({ files, workPath, repoRootPath, entrypoint, config = {}, m
40680
40677
  value.contentType = value.contentType || 'text/html; charset=utf-8';
40681
40678
  }
40682
40679
  });
40680
+ console.log('Notice: detected `next export`, this de-opts some Next.js features\nSee more info: https://nextjs.org/docs/advanced-features/static-html-export');
40683
40681
  return {
40684
40682
  output,
40685
40683
  images: (0, utils_1.getImagesConfig)(imagesManifest),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "3.3.18",
3
+ "version": "3.3.20",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
@@ -45,7 +45,7 @@
45
45
  "@types/semver": "6.0.0",
46
46
  "@types/text-table": "0.2.1",
47
47
  "@types/webpack-sources": "3.2.0",
48
- "@vercel/build-utils": "5.9.0",
48
+ "@vercel/build-utils": "6.0.1",
49
49
  "@vercel/nft": "0.22.5",
50
50
  "@vercel/routing-utils": "2.1.8",
51
51
  "async-sema": "3.0.1",
@@ -71,5 +71,5 @@
71
71
  "typescript": "4.5.2",
72
72
  "webpack-sources": "3.2.3"
73
73
  },
74
- "gitHead": "92f5b6e0c9be947a68b617d282fc39144f530813"
74
+ "gitHead": "ada9a48d57be8f4375494a369aaa98cee1f5eae2"
75
75
  }