@netlify/build 27.16.2 → 27.17.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
|
@@ -10,6 +10,7 @@ export const getZisiParameters = ({
|
|
|
10
10
|
featureFlags,
|
|
11
11
|
functionsConfig,
|
|
12
12
|
functionsDist,
|
|
13
|
+
internalFunctionsSrc,
|
|
13
14
|
isRunningLocally,
|
|
14
15
|
repositoryRoot,
|
|
15
16
|
}) => {
|
|
@@ -20,8 +21,10 @@ export const getZisiParameters = ({
|
|
|
20
21
|
normalizeFunctionConfig({ buildDir, featureFlags, functionConfig: object, isRunningLocally, nodeVersion }),
|
|
21
22
|
])
|
|
22
23
|
const zisiFeatureFlags = getZisiFeatureFlags(featureFlags)
|
|
24
|
+
// Only internal functions are allowed to have a json config file
|
|
25
|
+
const configFileDirectories = [resolve(internalFunctionsSrc)]
|
|
23
26
|
|
|
24
|
-
return { basePath: buildDir, config, manifest, featureFlags: zisiFeatureFlags, repositoryRoot }
|
|
27
|
+
return { basePath: buildDir, config, manifest, featureFlags: zisiFeatureFlags, repositoryRoot, configFileDirectories }
|
|
25
28
|
}
|
|
26
29
|
|
|
27
30
|
// The function configuration keys returned by @netlify/config are not an exact
|