@netlify/build 26.0.2 → 26.1.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.
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@ const isUsingEsbuild = (functionsConfig = {}) =>
|
|
|
19
19
|
// The function configuration keys returned by @netlify/config are not an exact
|
|
20
20
|
// match to the properties that @netlify/zip-it-and-ship-it expects. We do that
|
|
21
21
|
// translation here.
|
|
22
|
-
const normalizeFunctionConfig = ({ buildDir,
|
|
22
|
+
const normalizeFunctionConfig = ({ buildDir, functionConfig = {}, isRunningLocally }) => ({
|
|
23
23
|
externalNodeModules: functionConfig.external_node_modules,
|
|
24
24
|
includedFiles: functionConfig.included_files,
|
|
25
25
|
includedFilesBasePath: buildDir,
|
|
@@ -37,7 +37,7 @@ const normalizeFunctionConfig = ({ buildDir, featureFlags, functionConfig = {},
|
|
|
37
37
|
// build process.
|
|
38
38
|
rustTargetDirectory: isRunningLocally ? undefined : resolve(buildDir, '.netlify', 'rust-functions-cache', '[name]'),
|
|
39
39
|
|
|
40
|
-
schedule:
|
|
40
|
+
schedule: functionConfig.schedule,
|
|
41
41
|
})
|
|
42
42
|
|
|
43
43
|
const getZisiParameters = ({
|