@adobe/plugin-on-fetch
v0.1.1
Published
Adobe API Mesh on Fetch Plugin
Downloads
955
Maintainers
Keywords
Readme
On Fetch Plugin
The On Fetch Plugin will run custom JS per source on right before fetching. This plugin is based on envelop's onFetch hook.
Syntax:
"plugins": [
{
"onFetch": [
{
"source": "Source1",
"handler": "./Source1HandleOnFetch.js"
},
.
.
.
.
{
"source": "SourceN",
"handler": "./SourceNHandleOnFetch.js"
}
]
}
],