Publishing TS Libraries for Fun and Profit - Mark Erikson
TypeScript Congress 2023 #TSCongress #GitNation Website β https://typescriptcongress.com/ Follow the link to watch the full version of all the conference talks, QnAβs with speakers and hands-on workshop recordings β https://portal.gitnation.org/events/typescript-congress-2023 Talk: Publishing TS Libraries for Fun and Profit Publishing libraries to NPM is easy - just `tsc && npm publish` and you're done, right? Whoops, you forgot proper ESM compat. And a user is asking for a UMD build. And it doesn't work in Webpack 4. And `moduleResolution: ""node16""` can't find the types. Publishing libraries today is _complicated_. We'll take a look at the many problems and questions you should consider when publishing a package, and some hard-earned possible answers to those questions. This event would not take place without the support of sponsors: π Platinum Sponsors Rollbar β https://www.rollbar.com/ π₯ Gold Sponsors Grafbase β https://grafbase.com Focus Reactive β https://focusreactive.com/