3.2.0 • Published 9 months ago

@galaxyops/create-bundle v3.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@galaxyops/create-bundle

npm version License GitHub Stars

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 @galaxyops/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.