@netlify/build 20.1.0 → 20.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build",
3
- "version": "20.1.0",
3
+ "version": "20.2.0",
4
4
  "description": "Netlify build module",
5
5
  "main": "src/core/main.js",
6
6
  "types": "types/index.d.ts",
@@ -16,6 +16,7 @@ const getFeatureFlag = function (name) {
16
16
  // Default values for feature flags
17
17
  const DEFAULT_FEATURE_FLAGS = {
18
18
  buildbot_build_go_functions: false,
19
+ buildbot_create_functions_manifest: false,
19
20
  buildbot_es_modules_esbuild: false,
20
21
  buildbot_zisi_trace_nft: false,
21
22
  buildbot_zisi_esbuild_parser: false,
@@ -51,8 +51,8 @@ const getZisiParameters = ({
51
51
  isRunningLocally,
52
52
  repositoryRoot,
53
53
  }) => {
54
- const isManifestEnabled = featureFlags.functionsBundlingManifest === true
55
- const manifest = isManifestEnabled && isRunningLocally ? join(functionsDist, 'manifest.json') : undefined
54
+ const isManifestEnabled = isRunningLocally || featureFlags.buildbot_create_functions_manifest === true
55
+ const manifest = isManifestEnabled ? join(functionsDist, 'manifest.json') : undefined
56
56
  const config = mapObject(functionsConfig, (expression, object) => [
57
57
  expression,
58
58
  normalizeFunctionConfig({ buildDir, featureFlags, functionConfig: object, isRunningLocally }),