We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
@react-router/node
optimizeDeps.include
1 parent 9103c6b commit f322d47Copy full SHA for f322d47
packages/remix-dev/vite/plugin.ts
@@ -1083,13 +1083,6 @@ export const reactRouterVitePlugin: ReactRouterVitePlugin = (_config) => {
1083
// Mismatching routers cause `Error: You must render this element inside a <Remix> element`.
1084
"react-router",
1085
"react-router-dom",
1086
-
1087
- // For some reason, the `vite-dotenv` integration test consistently fails on webkit
1088
- // with `504 (Outdated Optimize Dep)` from Vite unless `@react-router/node` is included
1089
- // in `optimizeDeps.include`. 🤷
1090
- // This could be caused by how we copy `node_modules/` into integration test fixtures,
1091
- // so maybe this will be unnecessary once we switch to pnpm
1092
- "@react-router/node",
1093
],
1094
},
1095
esbuild: {
0 commit comments