We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d5a8ca commit bf83519Copy full SHA for bf83519
packages/bundler-plugin-core/src/options-mapping.ts
@@ -39,6 +39,17 @@ export function normalizeUserOptions(userOptions: UserOptions) {
39
_experiments: userOptions._experiments ?? {},
40
};
41
42
+ if (
43
+ options.release.deploy === undefined &&
44
+ process.env["VERCEL"] &&
45
+ process.env["VERCEL_TARGET_ENV"]
46
+ ) {
47
+ options.release.deploy = {
48
+ env: `vercel-${process.env["VERCEL_TARGET_ENV"]}`,
49
+ url: process.env["VERCEL_URL"],
50
+ };
51
+ }
52
+
53
return options;
54
}
55
0 commit comments