-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Copy link
Labels
enhancementNew feature or requestNew feature or requestminiflareRelating to MiniflareRelating to Miniflarequick winPotentially easy/straightforward issue to tacklePotentially easy/straightforward issue to tackle
Description
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).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestminiflareRelating to MiniflareRelating to Miniflarequick winPotentially easy/straightforward issue to tacklePotentially easy/straightforward issue to tackle