Skip to content

Commit 9e84714

Browse files
committed
docs: call out that ignoreDependencies does not work for shared dependencies, relates to architect/architect#1476
1 parent b6afa39 commit 9e84714

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/views/docs/en/reference/configuration/function-config.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Configure individual Lambda function properties (e.g. `src/http/get-index/config
2525
Use the `@arc` pragma to disable Architect features for a specific function:
2626

2727
- [`env`](#env) - boolean, `true` (default) or `false` to disable loading environment variables
28-
- [`ignoreDependencies`](#ignoreDependencies) - array, specific dependency names to ignore during Lambda treeshaking
28+
- [`ignoreDependencies`](#ignoredependencies) - array, specific dependency names to ignore during Lambda treeshaking
2929
- [`shared`](#shared) - boolean, `true` (default) or `false` to skip hydrating project code from `@shared`.
3030
- [`views`](#views) - boolean, `true` (default) or `false` to skip hydrating project code from `@views`.
3131

@@ -51,7 +51,9 @@ Note: even with `env` set to false, your function still has access to credential
5151

5252
### `ignoreDependencies`
5353

54-
Disable specific dependencies from being installed in Lambdas that rely on [automated dependency treeshaking](/docs/en/guides/developer-experience/dependency-management#automated-dependency-treeshaking). When a dependency has a scope (preceded by '@'), place the name inside quotes. This setting is currently only supported in Node.js Lambdas.
54+
Disable specific dependencies from being installed in Lambdas that rely on [automated dependency treeshaking](/docs/en/guides/developer-experience/dependency-management#automated-dependency-treeshaking). When a dependency has a scope (preceded by '@'), place the name inside quotes.
55+
56+
> ⚠️ This setting is currently only supported in Node.js Lambdas and does _not_ support ignoring dependencies from the `shared` folder ([#1476](https://github.com/architect/architect/issues/1476)).
5557
5658
The alternate spelling of `ignoredDependencies` may also be used, although `ignoreDependencies` is preferred.
5759

0 commit comments

Comments
 (0)