Changing api documentation for jsx transformer

Hi in chrome debugger, the files that use sourcemaps from the transformer get "null" as the filename during debug, https://github.com/facebook/react/blob/master/main.js#L15 "sourceFilename" is used instead of "filename" to specify the filename in the sourcemap.
This commit is contained in:
Leon Fedotov
2014-10-27 19:18:22 +02:00
parent fa6daa9460
commit 2870d0eef8
+1 -1
View File
@@ -37,7 +37,7 @@ option | values | default
-------|--------|---------
`sourceMap` | `true`: append inline source map at the end of the transformed source | `false`
`harmony` | `true`: enable ES6 features | `false`
`filename` | the output filename for the source map | `"source.js"`
`sourceFilename` | the output filename for the source map | `"source.js"`
`stripTypes` | `true`: strips out type annotations | `false`
```js