denoland / deploy_feedback

For reporting issues with Deno Deploy
https://deno.com/deploy
74 stars 5 forks source link

Support DENO_FUTURE=1 on Deno Deploy #666

Closed maxbrieiev closed 3 months ago

maxbrieiev commented 4 months ago

What problem are you trying to solve?

I set DENO_FUTURE=1 variable for compatibility with certain third-party libraries that check for the presence of the window object to determine if the code is running in a browser or on a server. The problem is that I can't set this environment variable in Deno Deploy, because it says Invalid key: DENO_ is a reserved prefix.

Describe the solution you'd like

I would like Deno Deploy to support the DENO_FUTURE=1 environment variable.

Describe alternatives you've considered

Documentation, Adoption, Migration Strategy

No response

rbetts commented 3 months ago

Thank you for the feedback. Our plans are not to support the DENO_FUTURE gated features until Deno 2.0 is shipped. I apologize for the difficulty this is causing in this case.