fix parse API not adding all the correct pipeline transformers

This commit is contained in:
Sebastian McKenzie
2015-05-01 11:39:38 +01:00
parent 203ebeef20
commit 3353de225d
2 changed files with 6 additions and 1 deletions

View File

@@ -65,7 +65,7 @@ export function parse(code, opts = {}) {
};
opts.features = {};
for (var key in transform.transformers) {
for (var key in transform.pipeline.transformers) {
opts.features[key] = true;
}