@geut/esbuild-plugin-server

esbuild plugin to run a dev server

Usage no npm install needed!

<script type="module">
  import geutEsbuildPluginServer from 'https://cdn.skypack.dev/@geut/esbuild-plugin-server';
</script>

README

esbuild-plugin-server

esbuild plugin to start a dev server

Test Status JavaScript Style Guide standard-readme compliant

Made by GEUT

Why

Install

$ npm install --save-dev @geut/esbuild-plugin-server

Usage

const server = require('@geut/esbuild-plugin-server')

require('esbuild').buildSync({
  entryPoints: [...],
  bundle: true,
  minify: true,
  sourcemap: true,
  target: ['chrome58', 'firefox57', 'safari11', 'edge16'],
  outfile: 'out.js',
  plugins: [
    server()
  ]
})

Issues

:bug: If you found an issue we encourage you to report it on github. Please specify your OS and the actions to reproduce it.

Contributing

:busts_in_silhouette: Ideas and contributions to the project are welcome. You must follow this guideline.

License

MIT © A GEUT project