Skip to content

Commit c4430e9

Browse files
committed
Update copy
1 parent 428455a commit c4430e9

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

dist/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,21 @@ First, install one of packages in this directory containing distributable files.
4444
$ npm install --save @stdlib/dist-flat
4545
```
4646

47-
To use a bundle in a webpage,
47+
To use a package's default bundle in a webpage,
48+
49+
```html
50+
<script type="text/javascript" src="/path/to/node_modules/@stdlib/dist-<pkg>"></script>
51+
```
52+
53+
where `dist-<pkg>` corresponds to the desired published distributable file package.
54+
55+
To use a specific bundle (e.g., un-minified), include the bundle file path
4856

4957
```html
5058
<script type="text/javascript" src="/path/to/node_modules/@stdlib/dist-<pkg>/build/<bundle>.js"></script>
5159
```
5260

53-
where `dist-<pkg>` corresponds to the desired published distributable file package and `<bundle>` corresponds to the desired bundle. For example, to include the main un-minified bundle exposing a flat namespace
61+
where `<bundle>` corresponds to the desired bundle. For example, to include the un-minified bundle found in the package used in the example above
5462

5563
```html
5664
<script type="text/javascript" src="/path/to/@stdlib/dist-flat/build/bundle.js"></script>

0 commit comments

Comments
 (0)