From 49df9b88810514a4848d3110f1d344b50ebe76e5 Mon Sep 17 00:00:00 2001 From: Nikolas LeBlanc Date: Tue, 21 Feb 2023 14:58:29 -0500 Subject: [PATCH] DVC-0000: add umd instructions (#407) --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 47325413f..9b162cbea 100644 --- a/README.md +++ b/README.md @@ -108,3 +108,21 @@ Push up the new tags and version changes, then run: This will publish all the new versions to npm. You must provide the one-time password associated with the NPM account in order to run this command. + +#### js.devcycle.com/devcycle.min.js + +The last step is to upload the umd version of the SDK to our S3 bucket. + +To build it, run: + +`nx build:cdn js` + +This will create three files in the `dist/sdk/js` folder: + +``` +- devcycle.min.js +- devcycle.min.js.map +- devcycle.min.js.LICENSE.txt +``` + +Upload them all to S3.