@vercel/next 3.1.15 → 3.1.16
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 +6 -7
- package/package.json +3 -3
package/dist/index.js
CHANGED
@@ -42724,14 +42724,13 @@ const build = async ({ files, workPath, repoRootPath, entrypoint, config = {}, m
|
|
42724
42724
|
entryDirectory,
|
42725
42725
|
outputDirectory,
|
42726
42726
|
}, null, 2));
|
42727
|
-
|
42728
|
-
|
42729
|
-
.
|
42730
|
-
const newKey = `NEXT_PUBLIC_${key}`;
|
42731
|
-
if (!(newKey in process.env)) {
|
42732
|
-
process.env[newKey] = process.env[key];
|
42733
|
-
}
|
42727
|
+
const prefixedEnvs = (0, build_utils_1.getPrefixedEnvVars)({
|
42728
|
+
envPrefix: 'NEXT_PUBLIC_',
|
42729
|
+
envs: process.env,
|
42734
42730
|
});
|
42731
|
+
for (const [key, value] of Object.entries(prefixedEnvs)) {
|
42732
|
+
process.env[key] = value;
|
42733
|
+
}
|
42735
42734
|
await (0, build_utils_1.download)(files, workPath, meta);
|
42736
42735
|
if (config.rootDirectory) {
|
42737
42736
|
// this must come after the download step since files outside
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/next",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.16",
|
4
4
|
"license": "MIT",
|
5
5
|
"main": "./dist/index",
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
|
@@ -44,7 +44,7 @@
|
|
44
44
|
"@types/semver": "6.0.0",
|
45
45
|
"@types/text-table": "0.2.1",
|
46
46
|
"@types/webpack-sources": "3.2.0",
|
47
|
-
"@vercel/build-utils": "5.
|
47
|
+
"@vercel/build-utils": "5.3.0",
|
48
48
|
"@vercel/nft": "0.21.0",
|
49
49
|
"@vercel/routing-utils": "2.0.2",
|
50
50
|
"async-sema": "3.0.1",
|
@@ -69,5 +69,5 @@
|
|
69
69
|
"typescript": "4.5.2",
|
70
70
|
"webpack-sources": "3.2.3"
|
71
71
|
},
|
72
|
-
"gitHead": "
|
72
|
+
"gitHead": "47e3381c6df661168e8be335cc58df03f3cf2414"
|
73
73
|
}
|