-
Notifications
You must be signed in to change notification settings - Fork 417
Closed
Milestone
Description
This is a (Bug Report)
Description
For bug reports:
- What went wrong?
serverless deploy function -f functionName
always triggers the "serverless-webpack" plugin even when the runtime is not "nodejs". - What did you expect should have happened?
serverless-webpack should not trigger on non nodejs runtimes (e.g. python)
The issue resides in within "lib/validate.js". The pull request (https://github.com/serverless-heaven/serverless-webpack/pull/579/files) applied the custom runtime only for "serverless deploy" but not for "serverless deploy function -f".
Similar or dependent issue(s):
Additional Data
- Serverless-Webpack Version you're using: 5.4.0
- Webpack version you're using: 4.46.0
- Serverless Framework Version you're using: 2.31.0
- Operating System: Amazon Linux v2
- Stack Trace (if available):
Metadata
Metadata
Assignees
Labels
No labels