@vercel/next 3.7.0 → 3.7.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.
- package/dist/index.js +0 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -40385,20 +40385,17 @@ const build = async ({ files, workPath, repoRootPath, entrypoint, config = {}, m
|
|
40385
40385
|
}
|
40386
40386
|
const env = { ...spawnOpts.env };
|
40387
40387
|
env.NEXT_EDGE_RUNTIME_PROVIDER = 'vercel';
|
40388
|
-
env.NEXT_PUBLIC_EDGE_RUNTIME_PROVIDER = env.NEXT_EDGE_RUNTIME_PROVIDER;
|
40389
40388
|
if (target) {
|
40390
40389
|
// Since version v10.0.8-canary.15 of Next.js the NEXT_PRIVATE_TARGET env
|
40391
40390
|
// value can be used to override the target set in next.config.js
|
40392
40391
|
// this helps us catch cases where we can't locate the next.config.js
|
40393
40392
|
// correctly
|
40394
40393
|
env.NEXT_PRIVATE_TARGET = target;
|
40395
|
-
env.NEXT_PUBLIC_TARGET = target;
|
40396
40394
|
}
|
40397
40395
|
// Only NEXT_PUBLIC_ is considered for turbo/nx cache keys
|
40398
40396
|
// and caches may not have the correct trace root so we
|
40399
40397
|
// need to ensure this included in the cache key
|
40400
40398
|
env.NEXT_PRIVATE_OUTPUT_TRACE_ROOT = baseDir;
|
40401
|
-
env.NEXT_PUBLIC_OUTPUT_TRACE_ROOT = baseDir;
|
40402
40399
|
if (isServerMode) {
|
40403
40400
|
// when testing with jest NODE_ENV will be set to test so ensure
|
40404
40401
|
// it is production when running the build command
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/next",
|
3
|
-
"version": "3.7.
|
3
|
+
"version": "3.7.1",
|
4
4
|
"license": "MIT",
|
5
5
|
"main": "./dist/index",
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
|
@@ -71,5 +71,5 @@
|
|
71
71
|
"typescript": "4.5.2",
|
72
72
|
"webpack-sources": "3.2.3"
|
73
73
|
},
|
74
|
-
"gitHead": "
|
74
|
+
"gitHead": "6a7fa1526c6652c24350ef4797664a945775cf52"
|
75
75
|
}
|