Sometimes the deployed package contains files which have been deleted from the repo.
npm install
npx sls invoke local -f hello
rm files/one
npx sls package
unzip -l .serverless/sls-test.zip
Packaged ZIP file should contain files/two
but not files/one
which was deleted.
Packaged ZIP contains both files/one
and files/two
.