Difference between revisions of "Env-cmd"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* https://www.npmjs.com/package/env-cmd | * https://www.npmjs.com/package/env-cmd | ||
+ | * <code>env-cmd -f </code> | ||
+ | -f, --file [path] Custom env file path (default path: [[./.env]]) | ||
− | |||
*<code>env-cmd -f .env.development [[react-scripts build]]</code> | *<code>env-cmd -f .env.development [[react-scripts build]]</code> |
Revision as of 13:11, 5 October 2021
env-cmd -f
-f, --file [path] Custom env file path (default path: [[./.env]])
env-cmd -f .env.development react-scripts build
See also
Advertising: