UNPKG

278 BJavaScriptView Raw
1#!/usr/bin/env node
2
3/**
4 * Compile to browser source
5 */
6
7'use strict'
8
9process.chdir(`${__dirname}/..`)
10
11const { runTasks } = require('../lib')
12const ababel = require('ababel')
13
14runTasks('shim', [
15 () => ababel('**/*.js', {
16 cwd: 'lib',
17 out: 'shim/node'
18 })
19], true)