Fixes #6726 ignore config option (#3644)

https://phabricator.babeljs.io/T6726
This commit is contained in:
Thomas Aylott 2016-08-23 14:55:37 -04:00 committed by Henry Zhu
parent 53ed4e5eb8
commit 2a4186faf3

View File

@ -36,8 +36,6 @@ export function log(msg) {
export function transform(filename, code, opts) {
opts = _.defaults(opts || {}, index.opts);
opts.filename = filename;
opts.ignore = null;
opts.only = null;
let result = babel.transform(code, opts);
result.filename = filename;