Skip to content

Commit 4487aae

Browse files
committed
- Docs: Indicate changed cjs extension for UMD builds
1 parent 64444b2 commit 4487aae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ const result = JSONPath({path: '...', json});
7777

7878
### Browser
7979

80-
For browser usage you can directly include `dist/index-browser-umd.js`; no Browserify
81-
magic is necessary:
80+
For browser usage you can directly include `dist/index-browser-umd.cjs`; no
81+
Browserify magic is necessary:
8282

8383
```html
8484
<!-- Polyfill recommended by Babel for items not covered for older
8585
browsers in dist -->
8686
<script src="node_modules/core-js-bundle/minified.js"></script>
8787

88-
<script src="node_modules/jsonpath-plus/dist/index-browser-umd.js"></script>
88+
<script src="node_modules/jsonpath-plus/dist/index-browser-umd.cjs"></script>
8989

9090
<script>
9191

0 commit comments

Comments
 (0)