Difference between revisions of "Env-cmd"
Jump to navigation
Jump to search
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | * 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 8: | Line 11: | ||
*<code>[[npm run build]]</code> | *<code>[[npm run build]]</code> | ||
+ | |||
+ | == See also == | ||
+ | * {{env}} | ||
+ | |||
+ | [[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: