This plugin is very helpful in organising serverless projects.
However, I've just been troubleshooting a problem a colleague has been having:
TypeError: Cannot create property 'events' on string ''
at <path-to-project>/node_modules/serverless-dir-config-plugin/index.js:84:55
We found that a .DS_Store
cache file had been generated on his Mac. This file was parsed by serverless-dir-config-plugin
when we ran sls offline
and caused the error above.
It looks like this repo is no longer maintained, but leaving this issue in case anyone hits a similar problem in future!