feat: Deploy target to lowercase
This commit is contained in:
@@ -20,7 +20,7 @@ const unwrapEnvVar = (varName, fallbackValue) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Determine the deploy target (vercel, netlify, cloudflare, node)
|
// Determine the deploy target (vercel, netlify, cloudflare, node)
|
||||||
const deployTarget = unwrapEnvVar('PLATFORM', 'node');
|
const deployTarget = unwrapEnvVar('PLATFORM', 'node').toLowerCase();
|
||||||
|
|
||||||
// Determine the output mode (server, hybrid or static)
|
// Determine the output mode (server, hybrid or static)
|
||||||
const output = unwrapEnvVar('OUTPUT', 'hybrid');
|
const output = unwrapEnvVar('OUTPUT', 'hybrid');
|
||||||
|
|||||||
Reference in New Issue
Block a user