0.1.0 • Published 8 months ago
@adobe/plugin-on-fetch v0.1.0
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"
}
]
}
],
0.1.0
8 months ago