From 6a59a6f7cb1632cc036394bb779e4fb1831f7cca Mon Sep 17 00:00:00 2001 From: Daniel Silhavy Date: Tue, 18 Feb 2025 05:01:19 -0700 Subject: [PATCH] Update installation documentation to reference latest build --- pages/quickstart/installation.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pages/quickstart/installation.md b/pages/quickstart/installation.md index 7b48d66ba6..fd03f68076 100644 --- a/pages/quickstart/installation.md +++ b/pages/quickstart/installation.md @@ -54,6 +54,8 @@ instance `v3.1.0`. ### Version 5.x and newer +#### Version builds + With version 5.0.0 we introduced new bundle formats. The URLs for the CDN hosted files for these new bundle formats are as follows. Replace `vx.x.x` with the release version, for instance `v5.0.0`. @@ -75,6 +77,28 @@ are as follows. Replace `vx.x.x` with the release version, for instance `v5.0.0` Multiple examples how to use dash.js in your Typescript or Webpack based JavaScript project can be found in `samples/modules`. +#### Latest build + +The bundles of the latest release can be found here: + +- `UMD legacy` + - Minified + Build: [http://cdn.dashjs.org/latest/legacy/umd/dash.all.min.js](http://cdn.dashjs.org/latest/legacy/umd/dash.all.min.js) + - Debug + Build: [http://cdn.dashjs.org/latest/legacy/umd/dash.all.debug.js](http://cdn.dashjs.org/latest/legacy/umd/dash.all.debug.js) +- `UMD modern` + - Minified + Build: [http://cdn.dashjs.org/latest/modern/umd/dash.all.min.js](http://cdn.dashjs.org/latest/modern/umd/dash.all.min.js) + - Debug + Build: [http://cdn.dashjs.org/latestmodern/umd/dash.all.debug.js](http://cdn.dashjs.org/latest/modern/umd/dash.all.debug.js) +- `ESM modern` + - Minified + Build: [http://cdn.dashjs.org/latest/modern/esm/dash.all.min.js](http://cdn.dashjs.org/latest/modern/esm/dash.all.min.js) + - Debug + Build: [http://cdn.dashjs.org/latest/modern/esm/dash.all.debug.js](http://cdn.dashjs.org/latest/modern/esm/dash.all.debug.js) + +Note: For backwards compatibility we also host the `UMD modern` bundle under [https://cdn.dashjs.org/latest/dash.all.min.js](https://cdn.dashjs.org/latest/dash.all.min.js). + ## NPM package We publish dash.js to [npm](https://www.npmjs.com/package/dashjs). Examples of how to use dash.js in different module