make playground option enable experimental
This commit is contained in:
parent
2545292bce
commit
ba2204156c
@ -71,6 +71,10 @@ File.normaliseOptions = function (opts) {
|
|||||||
opts.runtime = "to5Runtime";
|
opts.runtime = "to5Runtime";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (opts.playground) {
|
||||||
|
opts.experimental = true;
|
||||||
|
}
|
||||||
|
|
||||||
transform._ensureTransformerNames("blacklist", opts.blacklist);
|
transform._ensureTransformerNames("blacklist", opts.blacklist);
|
||||||
transform._ensureTransformerNames("whitelist", opts.whitelist);
|
transform._ensureTransformerNames("whitelist", opts.whitelist);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user