@cats-cradle/create-bundle
v3.1.0
Published
[![npm version](https://badge.fury.io/js/@cats-cradle%2Fcreate-bundle.svg)](https://badge.fury.io/js/@cats-cradle%2Fcreate-bundle) [![License](https://img.shields.io/badge/License-MIT-brightgreen.svg)](LICENSE) [![GitHub Stars](https://img.shields.io/gith
Downloads
8
Readme
@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.