Env variables in remote configuration files #101
Closed
MaheshkumarSundaram
started this conversation in
General
Replies: 1 comment 1 reply
-
If you have a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @neonexus,
In the
config
, we have our environment variables in the subfolderenv
as per the NODE_ENV. They are all created and used for our convenience right! They aren't looked up default by Sails unless we ask it to.Webpack uses these variables to builds the assets for prod. No doubt in that.
But when we lift our Sails using
npm run lift:prod
, does config/env/production.js get used by Sails. It isn't right?How do we ask Sails to use it while lifting?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions