You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow setting a glob pattern for forceExclude so we can exclude an entire namespaced package.
For feature proposals:
What is the use case that should be solved. The more detail you describe this in the easier it is to understand for us.
Moving onto Node 18 and fully trying to use @aws-sdk/*@V3 in the AWS lambda environment I need to exclude the entire @aws-sdk/* namespace to utilize the package installed in the environment. We've been blocked from fully migrating to the V3 package because serverless-webpack isn't excluding the entire lib like it does with aws-sdk v2. Even though @aws-sdk v3 is "modular" they still bring in a lot of their own @aws-sdk/@V3 as subdependencies.
Beyond that example, using lambda layers could also create a similar issue when bundling specific dependencies and publishing those independently of the main application. If those are namespaced, we can have the same problem.
Feature Proposal
Description
Allow setting a glob pattern for forceExclude so we can exclude an entire namespaced package.
For feature proposals:
Moving onto Node 18 and fully trying to use
@aws-sdk/*@V3
in the AWS lambda environment I need to exclude the entire@aws-sdk/*
namespace to utilize the package installed in the environment. We've been blocked from fully migrating to the V3 package becauseserverless-webpack
isn't excluding the entire lib like it does withaws-sdk
v2. Even though@aws-sdk
v3 is "modular" they still bring in a lot of their own @aws-sdk/@V3 as subdependencies.Beyond that example, using lambda layers could also create a similar issue when bundling specific dependencies and publishing those independently of the main application. If those are namespaced, we can have the same problem.
Glob:
Regex:
Similar or dependent issue(s):
AFIK no one has requested it explicitly
Additional Data
The text was updated successfully, but these errors were encountered: