Technical requirements
This chapter relies on the GitHub solution accessible here: https://github.com/PacktPublishing/Mastering-SharePoint-Development-with-the-SharePoint-Framework-. You need to first clone the repository locally on your machine to be able to follow the steps.
The following Git branch is used for the entire chapter: https://github.com/PacktPublishing/Mastering-SharePoint-Development-with-the-SharePoint-Framework-/tree/chapter8/deploying-a-webpart.
Before reading this chapter, you must check out this branch using either the Git command line or a Git client such as GitHub Desktop, SourceTree, and so on.
Code snippets
For brevity and readability considerations, only the relevant parts of the code are detailed in the provided snippets in this chapter. For these reasons, ad-hoc code, such as dependencies imports, updates to certain files, and so on, may be omitted. We recommend having the GitHub solution open alongside to get the full working version of the...