Difference between revisions of "Env-cmd"
Jump to navigation
Jump to search
(2 intermediate revisions by one other user not shown) | |||
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> | ||
Line 11: | Line 12: | ||
*<code>[[npm run build]]</code> | *<code>[[npm run build]]</code> | ||
− | ==See also== | + | == See also == |
− | *{{ | + | * {{env}} |
[[Category:Virtualitzation]] | [[Category:Virtualitzation]] |
Latest revision as of 19:24, 5 July 2022
env-cmd -f
-f, --file [path] Custom env file path (default path: ./.env)
env-cmd -f .env.development react-scripts build
See also[edit]
Advertising: