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: lib/node_modules/@stdlib/_tools/browserify/string/README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,7 @@ function clbk( error ) {
53
53
54
54
The function accepts any [browserify][browserify]`option`, as well as the following `options`:
55
55
56
+
-**standalone**: standalone [browserify][browserify] export name. Setting this option instructs the function to generate a UMD bundle with the supplied export name. The generated bundle will work with other module systems. If no module system is found, the export name is attached to the `window` global.
56
57
-**exportName**: bundle export target. The target is the name used to load the bundle from the external environment. In contrast to a standalone UMD bundle, a require function is exposed as a global variable.
57
58
-**transforms**: an `array` of [browserify][browserify] transform modules and functions (including corresponding options) to be applied during bundling.
58
59
-**plugins**: an `array` of [browserify][browserify] plugins (including corresponding options) to be applied during bundling.
@@ -120,6 +121,10 @@ Options:
120
121
121
122
-h, --help Print this message.
122
123
-V, --version Print the package version.
124
+
--standalone name Generate a UMD bundle with the supplied export
125
+
name. The generated bundle will work with other
126
+
module systems. If no module system is found, the
127
+
export name is attached to the `window` global.
123
128
--export-name name Bundle export target. The target is the name used
0 commit comments