Including a .json configuration file in the serverless package

Hi!

I have a need to include a config.json file as part of my serverless packages, my lambda function relies on it to load up some configuration. From reading documentation I understand that I can use the ‘include’ attribute in ‘package’ definition. But when I create a package using $>sis package --package my-package.zip, it does not include the .json file.

My runtime environment is node.js and I am using serverless-webpack plugin.
Here is the snippet from serverless.yml

functions:
myfunction:
handler: src/myFuncHandler.handle
package:
- include src/config.json

I have tried to do this both at service level and function level, but with not luck.
What am I doing wrong? Thanks for your help in advance.

Take Care,
Ameet

Facing the same issue here. Did you find the solution o this yet ?