esbuild-qfile
JSON →esbuild-qfile (v0.2.3) is a plugin for esbuild that enables loading files as strings with a query parameter syntax (e.g., import x from './file?file'). It provides a simple way to inline file contents during bundling, useful for embedding resources. The plugin is lightweight, with no additional dependencies beyond esbuild itself. It is maintained as a single-purpose utility for esbuild's plugin ecosystem, with slow release cadence (last updated in 2022). Key differentiator: minimal configuration compared to other file loaders.
Resources
packageesbuild-qfile ↗