0.1.1 • Published 1 year ago
@adobe/plugin-on-fetch v0.1.1
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"
}
]
}
],