Replies: 1 comment 1 reply
-
I suppose they're exporting that function so they can keep control over the file. You will need to see what their IMO what Netlify is doing here it's not a good idea, the entry.server is part of your app, if they want to provide a customized one they should give you the code when starting an app, and maybe extract to functions what they need you to run, but not hide the whole file. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With Remix v2 they have changed the way some adapters work. One affected is the Netlify adapter, which exports the
handleRequest
asdefault
fromapp/entry.server.tsx
and collides with the configuration required by i18next.The template also added a
remix.init/entry.server.tsx
that looks the same.You can see the template here with both files app/entry.server.tsx and remix.init/entry.server.tsx.
How can I apply the i18next entry server required configuration while keeping the Netlify's?
Beta Was this translation helpful? Give feedback.
All reactions