🚀 Enhancement
new NextjsSite(this, "Site", {
path: "path/to/site",
environment: {
NEXT_PUBLIC_API_URL: api.url,
NEXT_PUBLIC_USER_POOL_CLIENT: auth.cognitoUserPoolClient.userPoolClientId,
},
});
More examples here - https://docs.serverless-stack.com/constructs/NextjsSite#examples
Update using:
$ npm install --save --save-exact @serverless-stack/cli@0.43.0 @serverless-stack/resources@0.43.0