Skip to content

Glossary: Desktop Apps with Electron and Tauri

ES modules

Also written: ESM, "type": "module", import

JavaScript's `import`/`export` module style. Setting `"type": "module"` in `package.json` makes `.js` files use it.

Where the book teaches it

Related terms

CommonJS