-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(templates/express): support .env
durning local development
#4017
Conversation
|
Hi @lili21, Welcome, and thank you for contributing to Remix! Before we consider your pull request, we ask that you sign our Contributor License Agreement (CLA). We require this only once. You may review the CLA and sign it by adding your name to contributors.yml. Once the CLA is signed, the If you have already signed the CLA and received this response in error, or if you have any questions, please contact us at hello@remix.run. Thanks! - The Remix team |
98124a0
to
86eb0c0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CLA needs to be signed correctly before this PR is reviewed by the team.
.env
durning local development
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we want to merge this, as this seems very specific and people can do this in their own project if they want to.
Will let the team (@kentcdodds & @mcansh) make the final decision.
86eb0c0
to
bf3ad60
Compare
Thank you for signing the Contributor License Agreement. Let's get this merged! 🥳 |
the express template is created by the remix team. I guess the developer would expect that the DX is the same as the default template. |
bf3ad60
to
37ac096
Compare
Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
20dce5c
to
c85f4bd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not fan of this change, but I'll leave it to the team to decide since it's not my place.
My 2cts: The express adapter is meant as "do what you want if you feel Remix App Server doesn't meet your needs", and it should be as bare-bone as possible.
I agree 100% - templates are made to be as basic as possible, however i do think this should be an "example" which you could then create with |
Yes, if you need Also, if/when PR #4123 is merged, you'll get the DX of Remix App Server automatically. With the customization of Express. |
I came across the same issue today and after some digging I patched |
the more i think about this, the more i think we should include it. does it work fine if there is no |
Yes |
…mix-run#4017) * support dotenv durning local development * Update templates/express/package.json Co-authored-by: Michaël De Boey <info@michaeldeboey.be> * chore: specify dotenv dep Co-authored-by: Michaël De Boey <info@michaeldeboey.be> Co-authored-by: lili.21 <lili.21@bytedance.com>
Closes: #
Testing Strategy: