Skip to content

Deploy A Script Application Without Its Dependencies

Overview

What You Will Learn In This Tutorial

  • Update bundling of new or existing NPM based projects to exclude dependencies and use the libraries in a DX Module.

Where To Get The Sample Code

Pre-Requisites

Pre-Requisites

See the detailed information here.

Note

The full deployment of the sample DX Module described in the guide Deploy JavaScript Libraries/Dependencies as a DX Module must be first completed. The generated DLL Manifest(i.e: dx-dll-manifest.json) in the DX Module folder is going to be referenced in this guide's instructions.

Bundle and Deploy a Script Application Without Its Dependencies

Script Applications Sharing Dependencies

Follow the detailed steps here.

Quick Notes:

  • Set a unique wcmContentName (i.e: EducSampleScriptApp) setting in package.json.
  • Make sure the contentRoot setting in package.json matches the build or distribution folder.

How to Build and Deploy Script Applications

Build and Deploy Script Applications

Follow the steps here.