Vite builds the lib package, and react-dom.development.js is built into it #209
Closed
TomasHawKing
started this conversation in
General
Replies: 1 comment
-
In 95% of the cases, react should be set to external for building libs and added to the peer dependencies of your lib. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I build in production mode, the build product should theoretically not contain the react-dom.development.js package, but it is currently found that the build result does contain react-dom.development.js
visualizer result:
vite.lib.config.ts:
Beta Was this translation helpful? Give feedback.
All reactions