serverless-plugin-ifelse
serverless-plugin-ifelse copied to clipboard
Unable to remove plugin
I have a use-case to remove a plugin based on stage level.
For example, I don't want to bundle when in "local" stage:
plugins:
- serverless-plugin-ifelse
- serverless-bundle
- serverless-offline
custom:
serverlessIfElse:
- If: '"${self:custom.stage}" == "local"'
Exclude:
- plugins.1
However, bundling does happen.
Is this use-case valid to implement?
I wanted to do the same but it seems not to work.
I'm same problem