SPFX provisioning package-solution.json

First go to this article to understand better

https://tejasadventure.blogspot.com/2021/07/spfx-provisioning-elementsxml.html 

CODE

 {

  "$schema""https://developer.microsoft.com/json-schemas/spfx-build/package-solution.schema.json",
  "solution": {
    "name""provisionassetsdemo-client-side-solution",
    "id""2f1c1ccf-1db7-41b1-b790-f6d9dc3fb5d4",
    "version""1.0.0.0",
    "includeClientSideAssets"true,
    "isDomainIsolated"false,
    "features": [{
      "title":"Provision Assets",
      "description""Provision Assets",
      "id":"cab9963d-1be6-4832-95fc-3e40ef7c729c",
      "version""2.0.0.0",
      "assets": {
        "elementManifests": [
          "elements.xml",
          "elements-v2.xml"
        ],
        "elementFiles": [
          "schema.xml"
        ]
      }
    }],
    "developer": {
      "name""",
      "websiteUrl""",
      "privacyUrl""",
      "termsOfUseUrl""",
      "mpnId"""
    }
  },
  "paths": {
    "zippedPackage""solution/provisionassetsdemo.sppkg"
  }
}

Comments