Replies: 3 comments
-
Did you ever get to the bottom of this? @dckc The project we're building has a vite.config.js file which mirrors the one you linked to above, and there haven't been any issues with it. Integrating hardened js into the context of a next.js application is one scenario I've had trouble with over the last few years, so I put together a barebones repository that I could reference if I ever needed a starting point. - github.com/tgrecojs/hardened-nextjs
|
Beta Was this translation helpful? Give feedback.
-
installSesLockdown.ts seems to be state-of-the-art. Here's hoping one of us finds a moment to explain how it works. |
Beta Was this translation helpful? Give feedback.
-
Vetted shims support in ses-shim is making progress. That should make it easier to support these environments. |
Beta Was this translation helpful? Give feedback.
-
front end bundlers tend to mangle the ses shim.
@turadg @samsiegart @mhofman @kriskowal how do we get around this?
I gather the state of the art is dapp-psm:
https://github.com/Agoric/dapp-psm/blob/e087c78f8057204d8b325f740efe07e54266d82f/vite.config.ts#L5-L8
but I tried to reproduce that in a project of my own without luck. Here's hoping I find time to re-trace my steps to share the symptoms in more detail.
Beta Was this translation helpful? Give feedback.
All reactions