@netlify/build-info
Advanced tools
Comparing version 7.11.2 to 7.11.3
@@ -21,2 +21,4 @@ import { type Framework } from '../frameworks/framework.js'; | ||
}; | ||
/** Wether to clear the publish directory before local dev */ | ||
clearPublishDirectory?: boolean; | ||
/** The dist directory that contains the build output */ | ||
@@ -23,0 +25,0 @@ dist: string; |
@@ -52,2 +52,5 @@ async function applyBuildSystemOverrides(settings, project, baseDirectory) { | ||
}; | ||
if (typeof framework.dev?.clearPublishDirectory !== 'undefined') { | ||
settings.clearPublishDirectory = framework.dev.clearPublishDirectory; | ||
} | ||
if (baseDirectory?.length && project.workspace?.isRoot) { | ||
@@ -54,0 +57,0 @@ settings.dist = project.fs.join(baseDirectory, framework.build.directory); |
{ | ||
"name": "@netlify/build-info", | ||
"version": "7.11.2", | ||
"version": "7.11.3", | ||
"description": "Build info utility", | ||
@@ -76,3 +76,3 @@ "type": "module", | ||
}, | ||
"gitHead": "b32d2b2d81b062d5021fa0c91d831b23353a5b1d" | ||
"gitHead": "38149ec7d75e04570da65c58c42ed04f11698491" | ||
} |
Sorry, the diff of this file is not supported yet
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
314455
5765