This repository was archived by the owner on Jan 28, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 464
Serverless Package and final artifact #11
Comments
Excluding stuff is up to the user. The plugin only makes sure that the page handlers are always included. I would normally exclude everything, for example: plugins:
- serverless-nextjs-plugin
custom:
serverless-nextjs:
nextConfigDir: "./"
package:
exclude:
- ./**/* |
Closed
Right now, .serverless/serverless-ssr.zip is 226 Mo. This should be around 50 Mo with only Lambda |
What I did, (i dont know if this is correct) :
EDIT : Nope, what I did is :
|
On windows :
I get exactly your result.
I get everything (build, pages, components, .serverless, ect) |
I've updated the docs and examples to use Are you happy for this to be closed and just use |
👍 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
With my current project : https://github.com/CuistotduCoin/front
If I do this : serverless package
In .serverless/serverless-ssr.zip contain everything in the directory. I think it should only contain "sls-next-build". This is a bug, right ?
If not, what I'm doing wrong ?
The text was updated successfully, but these errors were encountered: