aleclarson / cara

UNMAINTAINED - see https://github.com/aleclarson/cush
MIT License
0 stars 0 forks source link
bundler es6 javascript nodejs

cara v0.1.0 experimental

const {Bundler} = require('cara')

const bundler = new Bundler()
const project = bundler.project({
  root: '/path/to/cwd',
  types: ['js'],
})

const bundle = project.bundle({
  dev: true,
  platform: 'ios',
})

project.crawl({
  exclude: ['*.test.js'],
})

const code = await bundle.read()

Ready to dive deeper? [Read this in-depth guide]() or view the [API documentation]().