-
-
Notifications
You must be signed in to change notification settings - Fork 495
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
Edge deployment failures #2572
Comments
Shipping with 2.0.0-canary.16 |
Thanks for the update! Excited to try it out again. :) |
Thanks for the quick fix @zachleat! I really appreciate the debugging today. 🎉 |
Cross posting 11ty/demo-eleventy-edge#1 from @slegay |
2.0.0-canary.16 has shipped. |
Awesome, thanks so much! |
By the way, 11ty Edge is game changing. We're going to be able to serve our gated content to our world-wide audience over CDN with 200ms response times. Authentication tokens are handled via JWTs in cookies that refresh every 15 minutes and validated in edge functions, the user token gets injected as global data into 11ty Edge rendering, and all personalization and signing of video stream URLs happen in 11ty Edge, the whole thing works flawlessly. The only request requiring access backend data is the one refreshing the JWT with a serverless function. No client JS framework, just plain old HTML and a few web components. Really cool stuff. |
I'd love to hear more about your approach here @slegay. We love success stories about teams using Netlify edge functions (and I love hearing how 11ty can be used too!) Your use case sounds really interesting. Reach out if you'd like to chat about it sometime. |
Hey Marc, sure, would love to chat! I just sent you a connection request on LinkedIn. |
Would you be willing to post a link to a public write-up? I'm also curious how you did this and I'm sure I'm not the only one. |
It looks like deployments relying on the Eleventy generated import map for Edge are failing. We are going to have to workaround the approach which uses the autogenerated import map. This will allow us to delete some code but will also unfortunately require Edge function
import
statements to change (again).This will apply to 2.0.0-canary.16 and newer.
Before
After
Error message
We’ll also throw a build-time error message for you with instructions:
Shout outs
cc @mirisuzanne and @slegay and @MarcL who seem to have been asking around on this one!
(Also ran into #2571 while debugging this)
The text was updated successfully, but these errors were encountered: