netlify-cli 27.11.1 → 27.11.2
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.
|
@@ -23,6 +23,7 @@ import { uploadSourceZip } from '../../utils/deploy/upload-source-zip.js';
|
|
|
23
23
|
import { getEnvelopeEnv } from '../../utils/env/index.js';
|
|
24
24
|
import { mergeDeployEnvVars } from '../../utils/env/deploy-env-vars.js';
|
|
25
25
|
import { getFunctionsManifestPath, getInternalFunctionsDir, getServerManifestPath, } from '../../utils/functions/index.js';
|
|
26
|
+
import { getFeatureFlagsFromSiteInfo } from '../../utils/feature-flags.js';
|
|
26
27
|
import { isEmpty } from '../../utils/object-utilities.js';
|
|
27
28
|
import openBrowser from '../../utils/open-browser.js';
|
|
28
29
|
import { isInteractive } from '../../utils/scripted-commands.js';
|
|
@@ -573,7 +574,10 @@ const bundleEdgeFunctions = async (options, command) => {
|
|
|
573
574
|
...options,
|
|
574
575
|
packagePath: command.workspacePackage,
|
|
575
576
|
buffer: true,
|
|
576
|
-
featureFlags:
|
|
577
|
+
featureFlags: {
|
|
578
|
+
...edgeFunctionsFeatureFlags,
|
|
579
|
+
...getFeatureFlagsFromSiteInfo(command.netlify.cachedConfig.siteInfo),
|
|
580
|
+
},
|
|
577
581
|
// We log our own progress so we don't want this as well. Plus, this logs much of the same
|
|
578
582
|
// information as the build that (likely) came before this as part of the deploy build.
|
|
579
583
|
quiet: options.debug ?? true,
|