Skip to main content
100%

serverless webpack sample

✓ Published0🌍 Public
Aandresmijares
Last edited Mar 11, 2019
Created on Mar 11, 2019

This example demonstrates a serverless AWS Lambda function, defined in `serverless.yml`, that uses the `serverless-webpack` plugin to bundle JavaScript code with webpack. The configuration specifies a Node.js 8.10 runtime and includes a single function, `handler.hello`, which is the entry point for the Lambda. The setup also customizes the packager to rebuild the `grpc` native module for a Linux target with glibc, ensuring compatibility in the AWS environment. The visible code focuses on the deployment and build configuration, not on data visualization or rendering logic.

AI-generated description

Similar vizzes