Skip to content

Commit

Permalink
Merge pull request #1693 from josketres/patch-1
Browse files Browse the repository at this point in the history
Fix error in documentation of plugin fetch hook
  • Loading branch information
guybedford committed Jun 28, 2017
2 parents 74b36e6 + a44644c commit 68ed876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/creating-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The hooks compiler plugins can override are `locate`, `fetch`, `translate` and `
The behaviors of the hooks are:

* Locate: Overrides the location of the plugin resource
* Fetch: Called with third argument representing default fetch function, has full control of fetch output.
* Fetch: Called with second argument representing default fetch function, has full control of fetch output.
* Translate: Returns the translated source from `load.source`, can also set `load.metadata.sourceMap` for full source maps support.
* Instantiate: Providing this hook as a promise or function allows the plugin to hook instantiate. Any return value becomes the defined custom module object for the plugin call.

Expand Down

0 comments on commit 68ed876

Please sign in to comment.