Commit 2a6bc53d by Doru Moisa

Removed env options

parent 7da5833c
Showing with 0 additions and 14 deletions
......@@ -24,20 +24,6 @@ var options = {
}
};
function configTransform (transforms, enabled) {
options.transforms = options.transforms || {};
transforms.forEach(function (transform) {
options.transforms[transform.trim()] = enabled;
});
}
if (process.env.BUBLE_OPTION_YES) {
configTransform(process.env.BUBLE_OPTION_YES.split(','), true);
}
if (process.env.BUBLE_OPTION_NO) {
configTransform(process.env.BUBLE_OPTION_NO.split(','), false);
}
function mkdirp ( dir ) {
var parent = path.dirname( dir );
if ( dir === parent ) return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment