Closed richardtapendium closed 4 years ago
No, the serverless core functionality merely excludes dev dependencies and lets you hand-code a list of patterns to include/exclude, rather than excluding all dependencies by default and only adding in the ones that are required() from your handlers or are transitive dependencies of those.
The built-in functionality is also slower, so installing this plugin, plus serverless-plugin-common-excludes
, and setting excludeDevDependencies: false
results in a faster package step with a smaller output.
Based on serverless docs here, it looks like this functionality is already in the serverless core.
If so, should we update the README to reflect this so people don't unnecessarily install this plugin?