Welcome to mirror list, hosted at ThFree Co, Russian Federation.

build.js « bin « docs - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6832274fde2e6b45a2741730d6aa74a3d8f21733 (plain)
1
2
3
4
5
6
7
8
9
const run = require('../lib/build.js')
const { paths } = require('../lib/index')

run(paths)
  .then((res) => console.log(`Wrote ${res.length} files`))
  .catch((err) => {
    process.exitCode = 1
    console.error(err)
  })