From 7c793d90cae5d4e6f55e58a6fe4784f4cf811bea Mon Sep 17 00:00:00 2001 From: Karin Hendrikse <30577427+khendrikse@users.noreply.github.com> Date: Mon, 6 Mar 2023 09:48:50 +0100 Subject: [PATCH] feat: remove ff project_deploy_configuration_api_use_per_function_configuration_files (#5493) --- src/lib/build.mjs | 1 - src/lib/functions/registry.mjs | 1 - src/utils/deploy/hash-fns.mjs | 1 - 3 files changed, 3 deletions(-) diff --git a/src/lib/build.mjs b/src/lib/build.mjs index fc73cc75f6d..073405a1d21 100644 --- a/src/lib/build.mjs +++ b/src/lib/build.mjs @@ -42,7 +42,6 @@ export const getBuildOptions = ({ featureFlags: { ...edgeFunctionsFeatureFlags, functionsBundlingManifest: true, - project_deploy_configuration_api_use_per_function_configuration_files: true, }, }) diff --git a/src/lib/functions/registry.mjs b/src/lib/functions/registry.mjs index c15c0790f5f..aea023fcdba 100644 --- a/src/lib/functions/registry.mjs +++ b/src/lib/functions/registry.mjs @@ -194,7 +194,6 @@ export class FunctionsRegistry { const functions = await this.listFunctions(directories, { featureFlags: { buildRustSource: env.NETLIFY_EXPERIMENTAL_BUILD_RUST_SOURCE === 'true', - project_deploy_configuration_api_use_per_function_configuration_files: true, }, configFileDirectories: [getPathInProject([INTERNAL_FUNCTIONS_FOLDER])], config: this.config.functions, diff --git a/src/utils/deploy/hash-fns.mjs b/src/utils/deploy/hash-fns.mjs index 1cd7bcdaa31..f016d9071f9 100644 --- a/src/utils/deploy/hash-fns.mjs +++ b/src/utils/deploy/hash-fns.mjs @@ -69,7 +69,6 @@ const getFunctionZips = async ({ const { zipFunctions } = await import('@netlify/zip-it-and-ship-it') return await zipFunctions(directories, tmpDir, { - featureFlags: { project_deploy_configuration_api_use_per_function_configuration_files: true }, basePath: rootDir, configFileDirectories: [getPathInProject([INTERNAL_FUNCTIONS_FOLDER])], config: functionsConfig,