@vercel/build-utils
Advanced tools
Comparing version 2.9.1-canary.9 to 2.9.1-canary.10
@@ -214,3 +214,4 @@ "use strict"; | ||
builders.push(frontendBuilder); | ||
if (hasNextApiFiles && apiBuilders.some(b => b.use === '@vercel/node')) { | ||
if (hasNextApiFiles && | ||
apiBuilders.some(b => _1.isOfficialRuntime('node', b.use))) { | ||
warnings.push({ | ||
@@ -679,4 +680,3 @@ code: 'conflicting_files', | ||
const framework = ((_a = frontendBuilder === null || frontendBuilder === void 0 ? void 0 : frontendBuilder.config) === null || _a === void 0 ? void 0 : _a.framework) || ''; | ||
const use = (frontendBuilder === null || frontendBuilder === void 0 ? void 0 : frontendBuilder.use) || ''; | ||
const isNextjs = framework === 'nextjs' || use.startsWith('@vercel/next'); | ||
const isNextjs = framework === 'nextjs' || _1.isOfficialRuntime('next', frontendBuilder === null || frontendBuilder === void 0 ? void 0 : frontendBuilder.use); | ||
const ignoreRuntimes = (_b = slugToFramework.get(framework)) === null || _b === void 0 ? void 0 : _b.ignoreRuntimes; | ||
@@ -683,0 +683,0 @@ if (apiRoutes && apiRoutes.length > 0) { |
{ | ||
"name": "@vercel/build-utils", | ||
"version": "2.9.1-canary.9", | ||
"version": "2.9.1-canary.10", | ||
"license": "MIT", | ||
@@ -53,3 +53,3 @@ "main": "./dist/index.js", | ||
}, | ||
"gitHead": "115ae0a2291d9a4b6f8319acca24680fb187772c" | ||
"gitHead": "407c4ec5f44f3c5abe70106786c51c55ff98b8f1" | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1217203