You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.js
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@
19
19
/**
20
20
* IBM Watson Speech JavaScript SDK
21
21
*
22
-
* Top-level module includes the version, a [fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) pollyfill, and both of the speech libraries.
22
+
* Top-level module includes the version, and both of the speech libraries.
23
23
*
24
24
* If using a bundler such as browserify, you may optionally include sub-modules directly to reduce the size of the final bundle
25
25
*
@@ -29,6 +29,10 @@
29
29
/**
30
30
* Release version
31
31
*
32
+
* (for pre-built bundles only - if using via npm, read the package.json to determine the version)
33
+
*
34
+
* (This previously did `require('package.json').version` which works in browserify but causes webpack to choke with confusing errors unless extra plugins are included)
35
+
*
32
36
* envify automatically rewrites this during the release process
0 commit comments