serverless-plugin-optimize icon indicating copy to clipboard operation
serverless-plugin-optimize copied to clipboard

Deploy can not find my zip files. Generated json is wrong

Open gastonrey opened this issue 3 years ago • 0 comments

Am using optimize and getting an error saying that ...zip file can not be found for service X. Looking at the serverless-state.json I see that artifacts path for services is pointing to .../dev/teampact-notifications/.build/.serverless/notifications.zip where .build/ folder doesn't exists anymore. This should be pointing to .serverless folder instead.

It's moving files from .build to .serverless folder, how do I make this json to be aware of this when generated?

gastonrey avatar Apr 21 '21 15:04 gastonrey