-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I've tried out your example and noticed that the camelcase dependency for the "random" package doesn't actually get hoisted.
When you add a dependency that does get hoisted, ie bluebird, it seems to break serverless' packaging logic. Serverless depends on 'npm ls --production=true --parseable=true' when it is excluding dev dependencies. It looks like the 'npm ls' command gets confused when it tries to find @org/random's new bluebird dependency, since it is hoisted and does not exist in @org/random/node_modules, even though it is in sls-random/node_modules.
My current workaround is to manually build my own list of 'include' files, write the list to a json file, and then reference that json file in the serverless.yml file.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels