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
{{ message }}
This repository was archived by the owner on Jun 24, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,7 @@ Supported arguments are:
66
66
*`options.directory` { directory: '/path/to/temp/directory' } Directory to use when unpacking feed files.
67
67
*`options.sourceMaps` (default: false) Specify whether to include source maps.
68
68
*`options.minify` (default: false) Specify whether to minify code using uglify.
69
+
*`options.env` (default: `process.env.NODE_ENV || 'development'`) Specfies environment which is used to replace any usages of process.env.NODE_ENV with this value. This then enables dead code path elimination during bundling.
69
70
70
71
Returns a promise that resolves to a `string` of JavaScript code.
0 commit comments