Skip to content

Commit

Permalink
refactor: cleanup resolved feature flags (#4704)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
danez and kodiakhq[bot] authored Jun 21, 2022
1 parent 6523ede commit 2c58d10
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion src/lib/functions/registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 1 addition & 5 deletions src/utils/deploy/hash-fns.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

1 comment on commit 2c58d10

@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: 226 MB

Please sign in to comment.