Skip to content
This repository was archived by the owner on Jun 24, 2024. It is now read-only.

Commit 13eb98a

Browse files
committed
docs: update README to add envify info
1 parent 0bbfe5b commit 13eb98a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ Supported arguments are:
6666
* `options.directory` { directory: '/path/to/temp/directory' } Directory to use when unpacking feed files.
6767
* `options.sourceMaps` (default: false) Specify whether to include source maps.
6868
* `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.
6970

7071
Returns a promise that resolves to a `string` of JavaScript code.
7172

0 commit comments

Comments
 (0)