I develop a python library that also includes a server as a feature. Currently, the server is written in pure javascript, but I'd like to migrate to using React with TypeScript.
What I am not sure of is how I can set up my library structure so that I can use React+TypeScript for development but have only the compiled output included in my python application so pip install can work.
I'm assuming I have to make sure the React public folder is included in the python library, but I am new to using React, so I'd appreciate some feedback or pointers to libraries that may already implement such a workflow that I can use as a template.