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
Copy file name to clipboardExpand all lines: docs/Remix.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -245,3 +245,28 @@ export default function App() {
245
245
That's it! Now Remix both renders the admin app and serves as a proxy to the Supabase API. You can test the app by visiting `http://localhost:5173/admin/`, and the API Proxy by visiting `http://localhost:5173/admin/api/posts`.
246
246
247
247
Note that the Supabase credentials never leave the server. It's up to you to add your own authentication to the API proxy.
248
+
249
+
## Sourcemaps in production
250
+
251
+
By default, Vite won't include the TypeScript sourcemaps in production builds. This means you'll only have the react-admin ESM builds for debugging.
252
+
Should you prefer to have the TypeScript sources, you'll have to configure some Vite aliases:
0 commit comments