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
I've also noticed a window-production mapping in steal config to remap the path of a module file on the browser client does not work. However, a duplicate mapping for window-development does work.
Why do both env.NODE_ENV and window-production seem to have issues on the client side?
Aren't we supposed to be able to check env.NODE_ENV client side and use window-production?
If so, could this be a problem with Heroku? Am I misunderstanding this feature or is this a bug?
The text was updated successfully, but these errors were encountered:
The value of
NODE_ENV
seems to become undefined after reattachment:Development:
Production:
Therefore the test in the provided example seems as though it would fail client side: https://github.com/donejs/done-ssr/blob/master/docs/env.md
I've also noticed a
window-production
mapping in steal config to remap the path of a module file on the browser client does not work. However, a duplicate mapping forwindow-development
does work.Why do both
env.NODE_ENV
andwindow-production
seem to have issues on the client side?Aren't we supposed to be able to check
env.NODE_ENV
client side and usewindow-production
?If so, could this be a problem with Heroku? Am I misunderstanding this feature or is this a bug?
The text was updated successfully, but these errors were encountered: