lazarv / react-server

The easiest way to build React apps with server-side rendering
https://react-server.dev
MIT License
96 stars 5 forks source link

fix: vite deps optimizer usage #26

Closed lazarv closed 1 week ago

lazarv commented 1 week ago

With this PR the framework in development mode relies on Vite's dependency optimizer in a cleaner and simpler way to handle CommonJS dependencies.

Adds a new Chakra UI example to have another third-party library usage as a test case for module resolution.

Cleans up some inline Vite / Rollup plugin code.

Another possible enhancement to fix issues around third-party libraries, related to issues: