You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @KhaledBasiony 👋 ! Thanks for opening an issue, have you had the change to read through the Environments documentation? It might help to achieve what you're trying to accomplish.
Hello @alestiago,
yes I am already using the platform environment variables, but I have some secret variables that are present at compile time (e.g. Github Actions) but should not be easily accessible (plain text) at the host machine (e.g. on-premises computer)
I know --define might not be the most secure way to achieve that but definitely better than sending my api keys in a .env file 😅
I have already worked around this on my dev environment with dart_frog build then dart run -D... i am just missing out on the auto restart feature
If you have another solution for the original problem I am open for ideas.
Description
I want to add a bunch of variables using dart's
--define
or-D
I can run
dart_frog build
then rundart build ...
on the output, no problem.But How can I pass these during development when using
dart_frog dev
?Requirements
--define
arguments to thedart_frog dev
commandAdditional Context
Add any other context or screenshots about the feature request go here.
The text was updated successfully, but these errors were encountered: