fix namespace name
This commit is contained in:
parent
4e5d6ee976
commit
4faf2b7730
@ -178,8 +178,8 @@ File.prototype.normalizeOptions = function (opts) {
|
||||
|
||||
var ensureEnabled = function (key) {
|
||||
var namespace = transform.transformerNamespaces[key];
|
||||
if (namespace === "es7") opts.experimental = true;
|
||||
if (namespace === "playground") opts.playground = true;
|
||||
if (namespace === "experimental") opts.experimental = true;
|
||||
};
|
||||
|
||||
each(opts.whitelist, ensureEnabled);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user