Replies: 1 comment 1 reply
-
The way you passed them in, you pass them as a parameter to the eleventy module, but you'd want it as a node parameter. Sadly, as I see it right now, neither npm exec nor npx have support for this parameter. |
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
-
Node.js from v20.6.0 have built-in .env file support, can call
node --env-file=config.env
, very comfortably.If the way is to use this together with eleventy? If now call
eleventy --env-file=.env.development
there will be an errorBeta Was this translation helpful? Give feedback.
All reactions