@blinkk/root 4.0.0-alpha.4 → 4.0.0-alpha.5
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.
|
@@ -911,6 +911,9 @@ async function build(rootProjectDir, options) {
|
|
|
911
911
|
` ${dim3(`threads: ${threadsDesc} (${resolvedThreads.source})`)}`
|
|
912
912
|
);
|
|
913
913
|
}
|
|
914
|
+
const buildCacheDir = path2.join(distDir, ".cache");
|
|
915
|
+
await rmDir(buildCacheDir);
|
|
916
|
+
process.env.ROOT_BUILD_CACHE_DIR = buildCacheDir;
|
|
914
917
|
const progress = new BuildProgress({
|
|
915
918
|
total: sitemapEntries.length,
|
|
916
919
|
mode: activeLogMode,
|
|
@@ -987,6 +990,9 @@ async function build(rootProjectDir, options) {
|
|
|
987
990
|
} catch (e) {
|
|
988
991
|
progress.abort();
|
|
989
992
|
throw e;
|
|
993
|
+
} finally {
|
|
994
|
+
delete process.env.ROOT_BUILD_CACHE_DIR;
|
|
995
|
+
await rmDir(buildCacheDir);
|
|
990
996
|
}
|
|
991
997
|
progress.finish();
|
|
992
998
|
if (rootConfig.sitemap) {
|
|
@@ -3799,4 +3805,4 @@ export {
|
|
|
3799
3805
|
createProdServer,
|
|
3800
3806
|
CliRunner
|
|
3801
3807
|
};
|
|
3802
|
-
//# sourceMappingURL=chunk-
|
|
3808
|
+
//# sourceMappingURL=chunk-HUACTUZ3.js.map
|