1.0.14 • Published 3 months ago
@cats-cradle/create-bundle v1.0.14
@cats-cradle/create-bundle
This package contains various bundler profiles. The bundlers bundle another projects source code to make it ready for distribution.
Usage
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"
}
}
Profiles
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.