Internal: remove comments (#3657)

This commit is contained in:
Henry Zhu 2016-08-15 11:40:10 -04:00 committed by GitHub
parent ca27cf135d
commit 090f8cd10f
2 changed files with 5 additions and 8 deletions

View File

@ -1,6 +1,10 @@
{
"private": true,
"license": "MIT",
"scripts": {
"test": "make test",
"build": "make build"
},
"devDependencies": {
"async": "^1.5.0",
"babel-core": "^6.3.17",
@ -45,6 +49,7 @@
"uglify-js": "^2.4.16"
},
"babel": {
"comments": false,
"presets": [
"stage-0",
"es2015-loose"

View File

@ -1,16 +1,12 @@
import isFunction from "lodash/isFunction";
import fs from "fs";
//
export { default as File } from "../transformation/file";
export { default as options } from "../transformation/file/options/config";
export { default as buildExternalHelpers } from "../tools/build-external-helpers";
export { default as template } from "babel-template";
export { version } from "../../package";
//
import * as util from "../util";
export { util };
@ -30,8 +26,6 @@ export function Plugin(alias) {
throw new Error(`The (${alias}) Babel 5 plugin is being run with Babel 6.`);
}
//
import Pipeline from "../transformation/pipeline";
export { Pipeline };
@ -40,8 +34,6 @@ export let analyse = pipeline.analyse.bind(pipeline);
export let transform = pipeline.transform.bind(pipeline);
export let transformFromAst = pipeline.transformFromAst.bind(pipeline);
//
export function transformFile(filename: string, opts?: Object, callback: Function) {
if (isFunction(opts)) {
callback = opts;