Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 1.05 KB

README.md

File metadata and controls

45 lines (27 loc) · 1.05 KB

🚀 esbuild-notifier 🚀

npm version

Inspired by webpack-build-notifier(https://www.npmjs.com/package/webpack-build-notifier). Credits to @RoccoC

Stumbled upon this awsome build tool named esbuild (https://esbuild.github.io/) at 2 in morning and found that no one has yet created build notifier plugin for this. So starting this project to have a nice build notifier. 🙌

Status

This is initial draft of the plugin. It works but still has lots of improvements to be done.

Setup

npm install --save-dev esbuild-notifier
const esbuild = require('esbuild');
+ const esbuildBuildNotifier = require('esbuild-notifier');

esbuild.build({
  entryPoints: ['src/app.jsx'],
  bundle: true,
  outfile: 'build/bundle.js',
  watch: true,
+  plugins: [
+    esbuildBuildNotifier()
+  ]
}).catch(() => process.exit(1))

Demo

demo.mp4

License

MIT