Whats the best way to produce a js (or better TS) ...
# javascript
w
Whats the best way to produce a js (or better TS) library to be used in a react project? Right now I'm building for browser and then copy the generated .js to my react project and if feels like an hack
b
You don't even have to publish it anywhere. Just use generated pack gradle task to get a tarball that you can then npm install from
w
Thanks! I'll try it asap