-
Notifications
You must be signed in to change notification settings - Fork 5
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
What is import.meta.env.DEV
??
#2
Comments
Attn @kriskowal @mhofman @FUDCo |
It's from Vite (which I used for this dapp in place of create-react-app): https://vitejs.dev/guide/env-and-mode.html#env-variables |
That’s clever. I suppose they have some reason why |
Weird! @kriskowal , what do you think of this? How compat is this with Hardened JS and Endo? |
We certainly can’t emulate I suspect the motive for the design is to have a special form that doesn’t have to be special all the time. That is, This of course has nothing to do with |
Is this rewrite possibly rewriting SES itself (or lockdown.umd.js or however it is that SES is packaged for this dapp)? |
dapp-psm/src/installSesLockdown.js
Line 5 in ef56c8f
What is
import.meta.env.DEV
??There are no standard properties on
import.meta
, and Hardened JS's support forimport.meta
is still in flux.The text was updated successfully, but these errors were encountered: