Sha256: 10d0b2630f29ccfe5fdf2eff90c8f6db1731539a651f4286aa0b261082a20c65

Contents?: true

Size: 425 Bytes

Versions: 6

Compression:

Stored size: 425 Bytes

Contents

import commander from "commander";
import { util, buildExternalHelpers } from "babel-core";

commander.option("-l, --whitelist [whitelist]", "Whitelist of helpers to ONLY include", util.list);
commander.option("-t, --output-type [type]", "Type of output (global|umd|var)", "global");

commander.usage("[options]");
commander.parse(process.argv);

console.log(buildExternalHelpers(commander.whitelist, commander.outputType));

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
ilog-0.4.1 node_modules/babel/src/babel-external-helpers.js
ilog-0.4.0 node_modules/babel/src/babel-external-helpers.js
ilog-0.3.3 node_modules/babel/src/babel-external-helpers.js
es6_tilt-0.1.2 test/dummy/app/assets/javascripts/node_modules/babel/src/babel-external-helpers.js
es6_tilt-0.1.1 test/dummy/app/assets/javascripts/node_modules/babel/src/babel-external-helpers.js
es6_tilt-0.1.0 test/dummy/app/assets/javascripts/node_modules/babel/src/babel-external-helpers.js