Make changes to manifest.json
The general structure of components has been maintained, with a component still requiring a manifest.json
file.
Only one change is required within the manifest.json
file to modify it for use with the edge runtime implementation:
-
Add the top-level property
type
with the valueedge
:{ "$schema": "http://localhost:3000/schemas/v1.json", "name": "helloworld", "namespace": "dxp-comp-lib-edge", "description": "Enter a short description of your component", "displayName": "Hello World Component", "version": "0.2.7", "mainFunction": "main", "type": "edge", (1) ... }
1 The type
top-level property that will use theedge
runtime.