Scoped: updated numerous docs with scoped packages change [skip ci]
This commit is contained in:
committed by
Henry Zhu
parent
919bdf5e79
commit
859ea4b175
@@ -43,7 +43,7 @@ Type: `string`
|
||||
|
||||
#### options
|
||||
|
||||
`babel-template` accepts all of the options from [babylon], and specifies
|
||||
`@babel/template` accepts all of the options from [babylon], and specifies
|
||||
some defaults of its own:
|
||||
|
||||
* `allowReturnOutsideFunction` is set to `true` by default.
|
||||
@@ -58,7 +58,7 @@ Set this to `true` to preserve any comments from the `code` parameter.
|
||||
|
||||
#### Return value
|
||||
|
||||
`babel-template` returns a `function` which is invoked with an optional object
|
||||
`@babel/template` returns a `function` which is invoked with an optional object
|
||||
of replacements. See the usage section for an example.
|
||||
|
||||
[babylon]: https://github.com/babel/babylon#options
|
||||
|
||||
Reference in New Issue
Block a user