Fix fileName options passed to babylon (#4570)

The filename options used by babylon is called `sourceFilename` and not `filename`. Therefore the option should be adjusted to be called `sourceFilename`.
This commit is contained in:
Micha Reiser 2016-09-26 16:31:05 +02:00 committed by Daniel Tschinder
parent fc2b3cb465
commit a81a0d0f84

View File

@ -53,6 +53,7 @@ export default class File extends Store {
nonStandard: this.opts.nonStandard,
sourceType: this.opts.sourceType,
filename: this.opts.filename,
sourceFileName:this.opts.filename,
plugins: []
};