{"library":"aws-sam-webpack-plugin","type":"library","category":null,"description":"The `aws-sam-webpack-plugin` is a Webpack plugin designed to integrate Webpack into the AWS Serverless Application Model (SAM) CLI build process. Its primary function is to replace the traditional `sam build` command, offering an alternative for developers working with Node.js runtimes. This plugin emerged to address two key limitations of the SAM CLI at the time: a lack of robust native TypeScript support and slow build times, particularly due to SAM CLI's tendency to run `npm pack` and `npm install` for each function. It facilitates faster builds, comprehensive TypeScript and Babel support via Webpack loaders, and can even auto-generate VS Code debugging configurations. The current stable version is 0.16.0. However, the project is explicitly in a maintenance-only state, as the author now recommends utilizing the AWS SAM CLI's built-in TypeScript support, which has since matured. While community PRs for new runtime support will be merged, active feature development has ceased. This plugin's historical significance lies in providing a more efficient, Webpack-driven build workflow for SAM applications, especially beneficial for TypeScript users, before official tooling caught up.","language":"javascript","status":"maintenance","version":"0.16.0","tags":["javascript","webpack","aws","sam","typescript","babel"],"last_verified":"Wed May 27","install":[{"cmd":"npm install aws-sam-webpack-plugin","imports":["import AwsSamPlugin from 'aws-sam-webpack-plugin';"]},{"cmd":"yarn add aws-sam-webpack-plugin","imports":[]},{"cmd":"pnpm add aws-sam-webpack-plugin","imports":[]}],"homepage":"https://www.stacktoolbox.com/aws-sam-webpack-plugin","github":"https://github.com/StackToolbox/aws-sam-webpack-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/aws-sam-webpack-plugin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/aws-sam-webpack-plugin/compatibility"}}