World Congress 2024

Oh CommonJS! Why are you mESMing with me?

July 18, 2024 12:10 – 12:40 Β· 30 min STAGE 10 (120)

What this session covers

Typescript is almost everywhere. It’s so established that we use the ESM syntax subconsciously. Even though we might think it’s safe to use Typescript, we must remember that the browser and NodeJS server don’t understand TS out of the box, especially for library maintainers. That is why we use bundlers. But what if their output is different from what we expected? Should we care and trust still? I came into a situation where CommonJS and ESM messed with me. I will also share my thoughts on the interoperability challenges between packages and how to overcome them.

World Congress 2024

Related talks

Open session

Bun: the all in one JS toolkit

  • Wendelin Peleska

    Software Engineer @ WhizUs

Open session

Tree Shaking the Bytes Away

  • Francesco Novy

    Senior Software Engineer @ Sentry

Open session

How AWS Generates Polyglot Libraries Based on a Single TypeScript Codebase

  • Markus Ziller

    Solutions Architect and Serverless Aficionado at AWS

Open session

Write once, use anywhere: Framework agnostic Design Systems with Web Components

  • Sascha Lehmann

    Thinktecture AG, Developer Consultant

All sessions at this congress