diff --git a/src/lib/functions/registry.js b/src/lib/functions/registry.js index 6f7408129b7..fac6b180609 100644 --- a/src/lib/functions/registry.js +++ b/src/lib/functions/registry.js @@ -176,7 +176,6 @@ class FunctionsRegistry { const functions = await this.listFunctions(directories, { featureFlags: { - buildGoSource: true, buildRustSource: env.NETLIFY_EXPERIMENTAL_BUILD_RUST_SOURCE === 'true', }, config: this.config, diff --git a/src/utils/deploy/hash-fns.js b/src/utils/deploy/hash-fns.js index 7e509968cd2..53638def9a1 100644 --- a/src/utils/deploy/hash-fns.js +++ b/src/utils/deploy/hash-fns.js @@ -61,11 +61,7 @@ const getFunctionZips = async ({ }) } - const featureFlags = { - zisi_detect_esm: true, - } - - return await zipIt.zipFunctions(directories, tmpDir, { basePath: rootDir, config: functionsConfig, featureFlags }) + return await zipIt.zipFunctions(directories, tmpDir, { basePath: rootDir, config: functionsConfig }) } const hashFns = async (