A Serverless Framework plugin to build your lambda functions with Webpack. When enabled in your service configuration, functions are packaged and compiled individually, resulting in smaller Lambda packages that contain only the code and dependencies needed to run the function. This allows the plugin to fully utilize WebPack's Tree-Shaking optimization. Configuration possibilities range from zero-config to fully customizable. Support of serverless package, serverless deploy and serverless deploy function. Support of serverless invoke local and serverless invoke local --watch. Support of serverless run and serverless run --watch. Integrates with serverless-offline to simulate local API Gateway endpoints. Cleaned up configuration. You should now use a custom.webpack object to configure everything relevant for the plugin. The old configuration still works but will be removed in the next major release.

Features

  • Webpack version 3, 4 and 5 support
  • Support NPM and Yarn for packaging
  • Support asynchronous webpack configuration
  • Supports Yarn
  • Supports Webpack 4 and 5
  • Integrates with serverless-offline to simulate local API Gateway endpoints

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Serverless Webpack

Serverless Webpack Web Site

Other Useful Business Software
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Serverless Webpack!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Frameworks, JavaScript Browser Extensions and Plugins, JavaScript API Gateways

Registered

2022-04-07