Skip to content
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

🚀 Feature Request: Add environment variable for --cf-fetch / --no-cf-fetch #3659

Open
leighmcculloch opened this issue Jul 22, 2023 · 0 comments
Labels
enhancement New feature or request miniflare Relating to Miniflare quick win Potentially easy/straightforward issue to tackle

Comments

@leighmcculloch
Copy link

Describe the solution

Miniflare, and wrangler as a result, create a node_modules/.mf/cf.json file automatically, which is a really odd experience in non-Javascript projects.

The --cf-fetch / --no-cf-fetch option exists on Miniflare, but there's no way that I can tell to control that from Wrangler.

On my system I'd love to be able to set an environment variable and either disable the writing of the file, or set the path to somewhere else on my system, so that it applies to all my projects without having to manually set it with Miniflare, and so that Wrangler when running Miniflare picks it up too.

This issue of the node_modules being created was previously discussed in cloudflare/miniflare#143 (@lookfirst).

@leighmcculloch leighmcculloch added the enhancement New feature or request label Jul 22, 2023
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Jul 22, 2023
@admah admah added the miniflare Relating to Miniflare label Jul 26, 2023
@mrbbot mrbbot moved this from Untriaged to Backlog in workers-sdk Nov 7, 2023
@penalosa penalosa added the quick win Potentially easy/straightforward issue to tackle label Nov 8, 2024
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Nov 8, 2024
@penalosa penalosa removed this from workers-sdk Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request miniflare Relating to Miniflare quick win Potentially easy/straightforward issue to tackle
Projects
None yet
Development

No branches or pull requests

3 participants