Skip to content

Dev server for esbuild with live reload and error overlay

License

Notifications You must be signed in to change notification settings

exaring/esbuild-plugin-dev-server

 
 

Repository files navigation

esbuild-plugin-dev-server

Dev server for esbuild with live reload and error overlay.

const esbuild = require('esbuild');
const devServer = require('esbuild-plugin-dev-server');

esbuild.build({
  entryPoints: ['./src/index.js'],
  bundle: true,
  outfile: './public/bundle.js',
  plugins: [devServer({ public: './public', port: 3000 })],
});

Examples

glyph

About

Dev server for esbuild with live reload and error overlay

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.2%
  • HTML 4.3%
  • TypeScript 2.5%