Skip to content

Commit

Permalink
feat: enable Deploy Configuration API on CLI (#5037)
Browse files Browse the repository at this point in the history
* feat: enable Deploy Configuration API on CLI
  • Loading branch information
jackiewmacharia authored Sep 9, 2022
1 parent e642403 commit 3cffbb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const getBuildOptions = ({ cachedConfig, options: { context, cwd, debug, dry, js
featureFlags: {
functionsBundlingManifest: true,
edge_functions_produce_eszip: true,
project_deploy_configuration_api_use_per_function_configuration_files: true,
},
})

Expand Down
1 change: 1 addition & 0 deletions src/lib/functions/registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ 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,
},
config: this.config.functions,
})
Expand Down

1 comment on commit 3cffbb3

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

Package size: 222 MB

Please sign in to comment.