esbuild-plugin-import-folder

JSON →
library 1.0.1 ·javascript
verified May 1, 2026

An esbuild plugin that enables importing all files from a folder dynamically, treating them as if they were imported individually. This plugin is at version 1.0.1, stable, and ships TypeScript types. It simplifies bulk imports for esbuild-based projects, offering a declarative way to include multiple files from a directory without manual import statements. Unlike similar solutions that rely on glob patterns or require resolution, this plugin integrates directly with esbuild's build process. It supports only ESM projects and requires esbuild >= 0.17.0. Use cases include loading all components, assets, or modules in a directory with a single import statement.

total hits 7
actors 2 distinct systems
last hit 5d ago AhrefsBot
GPTBot
2
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · PT · 🇬🇧 United Kingdom · 🇩🇪 Germany