Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

bserve

tbranyen4MIT1.3.0

Static HTTP server that transpiles JavaScript with Babel

http, babel

readme

bserve

A static HTTP server that transpiles JavaScript automatically using Babel.

install from npm:

npm install bserve @babel/core --save

configure your package.json:

{
  "scripts": {
    "start": "bserve"
  }
}

start the server:

npm start

CLI args

scriptFile - Defaults to index.js, determines the file to automatically inject if you don't have an index.html file.

License: MIT