esbuild-gjs

JSON →
library 1.3.0 ·javascript
verified Jun 4, 2026

esbuild-gjs is an ESBuild plugin for building applications for Gjs (GNOME JavaScript runtime). It transpiles Gjs modules, handles GResource files, and supports both ESM and CJS output formats. Version 1.3.0 is current, with a monthly release cadence. Unlike generic bundlers, it integrates tightly with Gjs's module system and GLib/GTK APIs. Notable features: automatic GResource bundling, TypeScript support out of the box, and compatibility with ESBuild's plugin ecosystem. It requires esbuild ^0.28.0 as a peer dependency. The plugin is actively maintained and ships TypeScript type definitions.