Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add clarification on building for CJS with Vite (#304)
I'm migrating our app to [Vite](https://remix.run/docs/en/main/future/vite), but I can't move to ESM yet. Setting up this config in my vite config fixed my issue with the build output attempting to call require() on remix-utils. Since you already have a section for CJS in the Readme, I thought I'd help by adding how to fix these issues when moving to vite --------- Co-authored-by: Sergio Xalambrí <[email protected]>
- Loading branch information