An open API service indexing awesome lists of open source software.

https://github.com/waldekmastykarz/spfx-sample-dllcode

This sample illustrates how you can include a SharePoint Framework Library in your SharePoint Framework project
https://github.com/waldekmastykarz/spfx-sample-dllcode

office-365 sharepoint sharepoint-framework sharepoint-online spfx

Last synced: 12 months ago
JSON representation

This sample illustrates how you can include a SharePoint Framework Library in your SharePoint Framework project

Awesome Lists containing this project

README

          

# Building dll-code in SharePoint Framework

This sample illustrates how you can add custom tasks to the build process of SharePoint Framework projects.

## Minimal Path to Awesome

- clone this repo
- `$ npm i`
- `$ gulp update-greetings-typings`
- `$ gulp bundle`

## Features

This sample illustrates the following concepts on the SharePoint Framework:

- separating shared code from Web Parts into a Library
- building SharePoint Framework Library
- adding support for working with a SharePoint Framework Library both design- and runtime
- loading SharePoint Framework Library from an external URL
- using Gulp for defining additional build-automation tasks
- building ambient module definitions from code typings using a custom Gulp task
- building custom Gulp pipe function for processing file contents
- combining multiple file streams into one using Gulp
- building watcher task using Gulp to automatically execute tasks on file changes