DEV Community

# esm

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Building NPM packages for CommonJS with ESM dependencies

Building NPM packages for CommonJS with ESM dependencies

Comments
3 min read
Oh CommonJS! Why are you mESMing with me?! Reasons to ditch CommonJS

Oh CommonJS! Why are you mESMing with me?! Reasons to ditch CommonJS

Comments
5 min read
Web Development Without (Build) Tooling

Web Development Without (Build) Tooling

3
Comments 2
5 min read
Dual Node TypeScript Packages - The Easy Way

Dual Node TypeScript Packages - The Easy Way

8
Comments 1
1 min read
The Ongoing War Between CJS & ESM: A Tale of Two Module Systems

The Ongoing War Between CJS & ESM: A Tale of Two Module Systems

1
Comments 2
8 min read
How I optimized Carousel for EditorJS 2x in size.

How I optimized Carousel for EditorJS 2x in size.

Comments
5 min read
Transitioning from CommonJS to ESM

Transitioning from CommonJS to ESM

1
Comments
9 min read
Node.js, TypeScript and ESM: it doesn't have to be painful

Node.js, TypeScript and ESM: it doesn't have to be painful

78
Comments 13
3 min read
Set up Hot Reload for Typescript ESM projects

Set up Hot Reload for Typescript ESM projects

15
Comments 4
2 min read
Set up a Node.js project + TypeScript + Jest using ES Modules

Set up a Node.js project + TypeScript + Jest using ES Modules

28
Comments 2
2 min read
ESM & CJS: The subtle shift in bundlejs' behaviour

ESM & CJS: The subtle shift in bundlejs' behaviour

Comments
4 min read
How to build TypeScript to ESM and CommonJS

How to build TypeScript to ESM and CommonJS

2
Comments
7 min read
ES Modules & Import Maps: Back to the Future

ES Modules & Import Maps: Back to the Future

7
Comments
3 min read
How to use ESM on the web and in Node.js

How to use ESM on the web and in Node.js

7
Comments
5 min read
Custom ESM loaders: Who, what, when, where, why, how

Custom ESM loaders: Who, what, when, where, why, how

74
Comments 8
5 min read
Creating a Node.js module for both CommonJS & ESM consumption

Creating a Node.js module for both CommonJS & ESM consumption

10
Comments
1 min read
STOP using require() in node backend

STOP using require() in node backend

12
Comments 2
2 min read
JavaScript Module Ecosystem

JavaScript Module Ecosystem

9
Comments
9 min read
Declarative database modelling

Declarative database modelling

8
Comments
4 min read
Expressjs: Javascript written in ECMAScript 2015 (ES6)

Expressjs: Javascript written in ECMAScript 2015 (ES6)

5
Comments
3 min read
How to use ES Modules with Node.js

How to use ES Modules with Node.js

18
Comments 6
3 min read
What does it take to support Node.js ESM?

What does it take to support Node.js ESM?

5
Comments 1
7 min read
Build modular app with Alpine.js

Build modular app with Alpine.js

25
Comments 6
4 min read
TS and ts-jest meet “type”: “module”

TS and ts-jest meet “type”: “module”

9
Comments
4 min read
ESM doesn't need to break the ecosystem

ESM doesn't need to break the ecosystem

18
Comments
4 min read
constructor() dynamic import()

constructor() dynamic import()

9
Comments 4
3 min read
Lazy web components: The Book

Lazy web components: The Book

4
Comments
1 min read
Getting started with Go

Getting started with Go

34
Comments
5 min read
ERR_REQUIRE_ESM

ERR_REQUIRE_ESM

15
Comments 1
3 min read
Extracting an ESM module from a Deno script

Extracting an ESM module from a Deno script

6
Comments
3 min read
Notes on ES Modules with Chantastic

Notes on ES Modules with Chantastic

6
Comments
4 min read
Migrating from CommonJS to ESM

Migrating from CommonJS to ESM

17
Comments 1
4 min read
What you need to know about ES modules in Node.js

What you need to know about ES modules in Node.js

9
Comments 1
9 min read
A Dev Server Supports ESM

A Dev Server Supports ESM

3
Comments 1
4 min read
Introducing: ESM CDN for NPM + Deno

Introducing: ESM CDN for NPM + Deno

22
Comments
1 min read
An Overview of Javascript Module Types

An Overview of Javascript Module Types

9
Comments
13 min read
Project Automation

Project Automation

12
Comments
3 min read
TypeError: Cannot read property 'filename' of undefined in ES Modules in Node 14 and greater

TypeError: Cannot read property 'filename' of undefined in ES Modules in Node 14 and greater

8
Comments
2 min read
Bringing old JavaScript to the type="module" world

Bringing old JavaScript to the type="module" world

8
Comments
4 min read
What the heck are CJS, AMD, UMD, and ESM in Javascript?

What the heck are CJS, AMD, UMD, and ESM in Javascript?

568
Comments 21
4 min read
🦥 React.lazy without a default export

🦥 React.lazy without a default export

43
Comments 4
1 min read
You Should be Using esm

You Should be Using esm

112
Comments 10
4 min read
loading...