@netlify/build 29.1.3 → 29.2.0
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.
|
@@ -10,6 +10,7 @@ const DENO_CLI_CACHE_DIRECTORY = '.netlify/plugins/deno-cli';
|
|
|
10
10
|
const IMPORT_MAP_FILENAME = 'edge-functions-import-map.json';
|
|
11
11
|
const coreStep = async function ({ buildDir, constants: { EDGE_FUNCTIONS_DIST: distDirectory, EDGE_FUNCTIONS_SRC: srcDirectory, INTERNAL_EDGE_FUNCTIONS_SRC: internalSrcDirectory, IS_LOCAL: isRunningLocally, }, debug, systemLog, featureFlags, logs, netlifyConfig, }) {
|
|
12
12
|
const { edge_functions: declarations = [] } = netlifyConfig;
|
|
13
|
+
const { deno_import_map: userDefinedImportMap } = netlifyConfig.functions['*'];
|
|
13
14
|
const distPath = resolve(buildDir, distDirectory);
|
|
14
15
|
const internalSrcPath = resolve(buildDir, internalSrcDirectory);
|
|
15
16
|
const distImportMapPath = join(dirname(internalSrcPath), IMPORT_MAP_FILENAME);
|
|
@@ -38,6 +39,7 @@ const coreStep = async function ({ buildDir, constants: { EDGE_FUNCTIONS_DIST: d
|
|
|
38
39
|
debug,
|
|
39
40
|
distImportMapPath,
|
|
40
41
|
featureFlags,
|
|
42
|
+
importMapPaths: [userDefinedImportMap],
|
|
41
43
|
systemLogger: featureFlags.edge_functions_system_logger ? systemLog : undefined,
|
|
42
44
|
});
|
|
43
45
|
systemLog('Edge Functions manifest:', manifest);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/build",
|
|
3
|
-
"version": "29.
|
|
3
|
+
"version": "29.2.0",
|
|
4
4
|
"description": "Netlify build module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./lib/core/main.js",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@bugsnag/js": "^7.0.0",
|
|
67
67
|
"@netlify/cache-utils": "^5.1.0",
|
|
68
|
-
"@netlify/config": "^20.
|
|
69
|
-
"@netlify/edge-bundler": "
|
|
68
|
+
"@netlify/config": "^20.2.0",
|
|
69
|
+
"@netlify/edge-bundler": "7.0.1",
|
|
70
70
|
"@netlify/functions-utils": "^5.1.1",
|
|
71
71
|
"@netlify/git-utils": "^5.1.0",
|
|
72
72
|
"@netlify/plugins-list": "^6.59.0",
|
|
@@ -149,5 +149,5 @@
|
|
|
149
149
|
"module": "commonjs"
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
|
-
"gitHead": "
|
|
152
|
+
"gitHead": "48bc6057d30ef3c5173629d4345f804271c0a426"
|
|
153
153
|
}
|