build-esnext

Compile and concatenate ES.next modules

Usage no npm install needed!

<script type="module">
  import buildEsnext from 'https://cdn.skypack.dev/build-esnext';
</script>

README

build-esnext

Build Status

Compile and concatenate ES.next modules

Installing

build-esnext is available as an npm package.

Usage

Add build-bin and build-esnext to the package.json.

{
  "name": "project",
  "private": true,
  "scripts": {
    "build": "build"
  },
  "devDependencies": {
    "build-bin": "^0.0.6",
    "build-esnext": "^0.0.2"
  }
}

From the command line, run:

npm run build

build-esnext assumes an entry point at src/index.js and will compile it and its dependencies into dist/index.js.

Development

Getting Started

The application requires the following external dependencies:

  • Node.js

The rest of the dependencies are handled through:

npm install

Run tests with:

npm test