From 3b857cefb203aadf6f61eb77b8976320344649fb Mon Sep 17 00:00:00 2001 From: khen <30577427+khendrikse@users.noreply.github.com> Date: Wed, 22 Feb 2023 15:27:07 +0100 Subject: [PATCH] feat: remove ff project_deploy_configuration_api_use_per_function_configuration_files --- 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,