This package contains various bundler profiles. The bundlers bundle another projects source code to make it ready for distribution.
Install bundler as devDependency:
npm install @cats-cradle/create-bundle --dev
Call the binary from within your package.json
{
"name": "your-package",
"scripts": {
"build": "create-bundle",
"build:watch": "create-bundle --watch",
"cdk:deploy": "create-bundle && cdk deploy"
}
}
nestjs-bundler: Compiles Typescript NestJS src to Javascript dist using esbuild. Designed for use in AWS Lambda with applicable external modules, which lambda layer should provide, excluded.