Use dist/production
with vite.js
#10634
Replies: 1 comment
-
Thank you for opening this issue, and our apologies we haven't gotten around to it yet! With the release of React Router v7 we are sun-setting continued development/maintenance on Remix v2. If you have not already upgraded to React Router v7, we recommend you do so. We've tried to make the upgrade process as smooth as possible with our Future Flags. We are now in the process of cleaning up outdated issues and pull requests to improve the overall hygiene of our repositories. We plan to continue to address 2 types of issues in Remix v2:
If you believe this issue meets one of those criteria, please respond or create a new issue. For all other issues, ongoing maintenance will be happening in React Router v7, so:
If you have any questions you can always reach out on Discord. Thanks again for providing feedback and helping us make our framework even better! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I use react-router with vite.js. When I build my application, I see that it is the development version that is used during the build :
/node_modules/react-router/dist/development
:(I simply use the command
vite build
.Is there a solution to use the production version (
/node_modules/react-router/dist/production
) ?To test, I add this
console.log
that I find in the statics :Beta Was this translation helpful? Give feedback.
All reactions