expose transform pipeline and require node api inside of the browser one to avoid race conditions

This commit is contained in:
Sebastian McKenzie 2015-05-01 11:27:23 +01:00
parent 6f622033c5
commit 16cdb43c67
2 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
require("./node");
var transform = module.exports = require("../transformation");
transform.options = require("../transformation/file/options");

View File

@ -5,6 +5,7 @@ import * as util from "../util";
import fs from "fs";
export { util, acorn, transform };
export { pipeline } from "../transformation";
export { canCompile } from "../util";
export { default as options } from "../transformation/file/options";