@gilbarbara/esbuilder
v0.2.0
Published
Opinionated wrapper for esbuild
Downloads
25
Readme
@gilbarbara/esbuilder
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.