@netlify/build 29.0.2 → 29.0.3
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.
|
@@ -19,7 +19,16 @@ const coreStep = async function ({ buildDir, constants: { EDGE_FUNCTIONS_DIST: d
|
|
|
19
19
|
// If we're running in buildbot and the feature flag is enabled, we set the
|
|
20
20
|
// Deno cache dir to a directory that is persisted between builds.
|
|
21
21
|
const cacheDirectory = !isRunningLocally && featureFlags.edge_functions_cache_cli ? resolve(buildDir, DENO_CLI_CACHE_DIRECTORY) : undefined;
|
|
22
|
-
//
|
|
22
|
+
// Cleaning up the dist directory, in case it has any artifacts from previous
|
|
23
|
+
// builds.
|
|
24
|
+
try {
|
|
25
|
+
await fs.rm(distPath, { recursive: true });
|
|
26
|
+
}
|
|
27
|
+
catch {
|
|
28
|
+
// no-op
|
|
29
|
+
}
|
|
30
|
+
// Ensuring the dist directory actually exists before letting Edge Bundler
|
|
31
|
+
// write to it.
|
|
23
32
|
await fs.mkdir(distPath, { recursive: true });
|
|
24
33
|
try {
|
|
25
34
|
const { manifest } = await bundle(sourcePaths, distPath, declarations, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/build",
|
|
3
|
-
"version": "29.0.
|
|
3
|
+
"version": "29.0.3",
|
|
4
4
|
"description": "Netlify build module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./lib/core/main.js",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@bugsnag/js": "^7.0.0",
|
|
67
67
|
"@netlify/cache-utils": "^5.0.2",
|
|
68
68
|
"@netlify/config": "^20.0.2",
|
|
69
|
-
"@netlify/edge-bundler": "5.3.
|
|
69
|
+
"@netlify/edge-bundler": "5.3.3",
|
|
70
70
|
"@netlify/functions-utils": "^5.0.5",
|
|
71
71
|
"@netlify/git-utils": "^5.0.2",
|
|
72
72
|
"@netlify/plugins-list": "^6.58.0",
|
|
@@ -149,5 +149,5 @@
|
|
|
149
149
|
"module": "commonjs"
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
|
-
"gitHead": "
|
|
152
|
+
"gitHead": "34b80c6c3840735284a3907f5898f0e4ffe2fa52"
|
|
153
153
|
}
|