Skip to content

Commit 9cda0b0

Browse files
committed
Add some build clarifications to the documentation (#2923)
1 parent 8b5928c commit 9cda0b0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

index.html

+15
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,14 @@ <h2>v1.13.0 CDN URLs <i style="padding-left: 12px; font-size:12px;">(Use with <t
547547
</li>
548548
</ul>
549549

550+
<p>
551+
<i>In most cases, you can replace the version number above by
552+
<tt>latest</tt> so that your embed will automatically use the latest
553+
version, or <tt>stable</tt> if you want to delay updating until an update
554+
has proven to be free of accidental breaking changes. Example:</i><br>
555+
<tt>https://cdn.jsdelivr.net/npm/underscore@latest/underscore-umd-min.js</tt>
556+
</p>
557+
550558
<h2>Package Installation</h2>
551559

552560
<ul>
@@ -561,6 +569,13 @@ <h2>Package Installation</h2>
561569
</li>
562570
</ul>
563571

572+
<p>
573+
<i>If you are hardcoding the path to the file within the package and you
574+
are unsure which build to use, it is very likely that you need
575+
<tt>underscore-umd.js</tt> or the minified variant
576+
<tt>underscore-umd-min.js</tt>.</i>
577+
</p>
578+
564579
<h2>Monolithic Import (recommended)</h2>
565580

566581
<ul>

0 commit comments

Comments
 (0)