Skip to content

Commit

Permalink
DVC-0000: add umd instructions (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolasleblanc authored Feb 21, 2023
1 parent 14ce15d commit 49df9b8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

4 comments on commit 49df9b8

@vercel
Copy link

@vercel vercel bot commented on 49df9b8 Feb 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 49df9b8 Feb 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

js-sdks-next-js – ./

js-sdks-next-js-git-main-taplytics.vercel.app
js-sdks-next-js-taplytics.vercel.app
dvc-nextjs.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 49df9b8 Feb 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 49df9b8 Feb 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.