@gilbarbara/esbuilder

0.2.0 • Public • Published

@gilbarbara/esbuilder

npm version CI Maintainability Rating Coverage

Opinionated wrapper for esbuild

Setup

npm install @gilbarbara/esbuilder

Usage

esbuilder --cjs --esm

Options

Targets:
  --cjs            Build CommonJS module
  --esm            Build ESM module

Build Options:
  --input          Input files (default: ./src/index.ts)
  --externals      Add external packages to the bundle
  --noBundle       Skip bundling dependencies
  --noSourcemap    Skip the sourcemap
  --outDirectory   Output directory (default: ./dist)
  --platform       The platform (default: node)
  --target         The target environment (default: node16)
  --watch          Watch for changes (default: false)

Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

License

Copyright © 2022 Gil Barbara.
This project is MIT licensed.

Readme

Keywords

Package Sidebar

Install

npm i @gilbarbara/esbuilder

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

11.4 kB

Total Files

5

Last publish

Collaborators

  • gilbarbara