comment out strictMode option until acorn-6to5 works properly
This commit is contained in:
parent
5d720dbc43
commit
fbdea41399
@ -316,7 +316,7 @@ File.prototype.parse = function (code) {
|
|||||||
var opts = this.opts;
|
var opts = this.opts;
|
||||||
|
|
||||||
opts.allowImportExportEverywhere = this.isLoose("es6.modules");
|
opts.allowImportExportEverywhere = this.isLoose("es6.modules");
|
||||||
opts.strictMode = this.transformers.useStrict.canRun();
|
//opts.strictMode = this.transformers.useStrict.canRun();
|
||||||
|
|
||||||
return util.parse(opts, code, function (tree) {
|
return util.parse(opts, code, function (tree) {
|
||||||
self.transform(tree);
|
self.transform(tree);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user