-
Notifications
You must be signed in to change notification settings - Fork 126
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
Individual packaging of function does not work for Google Cloud Functions #89
Comments
Adding an |
@huysamen did you find a workaround on this one? I'm getting the same error |
@markmssd unfortunately no. We have subsequently switched over to using typescript with our own build process, and stopped using serverless. Webpack 4 does a good job of packaging everything separately without too much configuration. |
Thanks @huysamen, for typescript I'm using serverless-plugin-typescript, but Webpack's tree shaking is still not working... will probably switch to a custom build process as well... |
any update? |
Does anyone know how to fix this? I'm getting this error using serverless in a monorepo with yarn. |
I'm curious as well if any more support has been added for this? |
This is a Bug Report
Description
What went wrong?
You get the following error:
What did you expect should have happened?
Serverless should compile separate packages for each function.
What was the config you used?
What stacktrace or error message from your provider did you see?
Additional Data
Serverless Framework Version you're using: 1.23.0
Operating System: macOS High Sierra 10.13.1
The text was updated successfully, but these errors were encountered: