Open k-ogawa-1988 opened 3 years ago
Hello, Individual packaging is not supported yet by this package.
https://github.com/serverless/serverless-google-cloudfunctions/pull/261 adds it but is not ready. Feel free to help :)
Any help is more than welcome; I’m figuring it out as I go ^^’
Versions:
This plugin: 4.0.0
Problem no.1
When
package.artifact
is specified as empty string,sls package
works fine.But
sls package
fails whenpackage.artifact
is not specified.Error
/package/lib/compileFunctions.js
Problem no.2
Under
functions.func_name
,package
causes validation warning whensls package
even if there's an official document.Warning
Note : generated .zip files looks fine.
Problem no.3
sls deploy
with configuration below (includingpackage.individually = true
,package.artifact = ''
andfunctions.func_name.package
) causes error.Error
(no stacktrace)
Note: when turning off indiviaullly packaging, deploy works well but it may contain unused files (e.g. other function's code).
How can I work around this?