-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package 'individually=true' not working when setup at function level and 'false' at service level #303
Comments
just watching, have similar issue |
@bruno-xo7 I apologize, maybe it's wrong, but according to the documentation on the service level individually should be true:
and remove individually from function level:
|
@bruno-xo7 But in my case I have the same warning as you, but I configure package on service level, and don't use individual at all
VSCode plugin says (regarding the same documentation article mentioned in the comment above) that the package block should be on provider level (( |
Hello @a-khalilov, What you describe, it's to have 3 individual packages (in my example), one for each function. My problem is not this case, I want to have one 'global' (a.k.a. not individual) package for functions 'one' and 'two' and one individual package for the function 'three'. This is why I set the 'individually' at |
@bruno-xo7 I see. You're right, I didn't understand your case correctly. |
Correct @a-khalilov, It's failed at the package step and indeed the deploy is not launched because of the fail |
@bruno-xo7 I got your problem. Had something similar with other serverless plugins. I use some pipes as a workaround, something like |
Hello,
I got an issue with the package 'individually' not working. I have setup a simple project to easily test it:
serverless.yml
:package.json
src/main.ts
src/not_included_in_3
Then when I type
sls package
, I got this error:If I disable the plugin
serverless-plugin-typescript
it's working fine. And I got 2 package in.serverless
directory without error:sls-ts-package-individually.zip
three.zip
Can this be fixed?
Thank you,
Bruno
The text was updated successfully, but these errors were encountered: