Skip to content

Build options: Mapping with SharePoint

Andrew Koltyakov edited this page Oct 4, 2017 · 3 revisions

Build tools map local dist folder with remote target folder in SharePoint within site assets document library. _catalogs/masterpage/some_folder is recommended. SiteAssets/some_folder or Style Library/some_folder or others can be used as well.

SharePoint mapping paths are configured in ./config/app.json within the following parameters:

{
  ...
  "spFolder": "_catalogs/masterpage/spf",
    // Publishing SPWeb relative folder path in SharePoint
    // where files should be uploaded to
  "distFolder": "./dist",
    // Local distribution folder with built assets
    // ready for publishing
  ...
}