Skip to content

saurabhnemade/esbuild-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ 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

Releases

No releases published

Packages

No packages published