Update babel parser options (#4688)

* Update babel parser options
This commit is contained in:
Brian Ng
2016-10-07 13:30:47 -05:00
committed by Henry Zhu
parent 33eb56ab09
commit 0aa3ac2bb5
2 changed files with 5 additions and 13 deletions

View File

@@ -52,12 +52,9 @@ export default class File extends Store {
this.opts = this.initOptions(opts);
this.parserOpts = {
highlightCode: this.opts.highlightCode,
nonStandard: this.opts.nonStandard,
sourceType: this.opts.sourceType,
filename: this.opts.filename,
sourceFileName:this.opts.filename,
plugins: []
sourceType: this.opts.sourceType,
sourceFileName: this.opts.filename,
plugins: []
};
this.pluginVisitors = [];