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.

Related talks at this congress

Open session

World Congress 2024

July 18, 2024 · 17:30–18:00

STAGE 5 (500)

Bun: the all in one JS toolkit

Wendelin Peleska

Software Engineer @ WhizUs

Wendelin Peleska
Open session

World Congress 2024

July 19, 2024 · 13:00–13:30

STAGE 8 (120)

Tree Shaking the Bytes Away

Francesco Novy

Senior Software Engineer @ Sentry

Francesco Novy
Open session

World Congress 2024

July 18, 2024 · 17:30–18:00

STAGE 4 (500)

How AWS Generates Polyglot Libraries Based on a Single TypeScript Codebase

Markus Ziller

Solutions Architect and Serverless Aficionado at AWS

Markus Ziller
Open session

World Congress 2024

July 19, 2024 · 12:45–13:45

Workshop room M4 (40)

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

Sascha Lehmann

Thinktecture AG, Developer Consultant

Sascha Lehmann
All sessions at this congress