esbuild-plugin-path-alias
JSON →A esbuild plugin to support path aliases similar to webpack's resolve.alias. Current version 1.0.7, limited release history. It allows developers to define custom path mappings (e.g., '@' -> './app/component') so that import paths in source code can be shortened. The plugin requires esbuild as a peer dependency and expects absolute paths in alias definitions. Compared to alternatives like `esbuild-alias`, this plugin is minimal and focused, but lacks advanced features like tsconfig path resolution. It uses the `onResolve` hook and Node.js path module for resolution, and works with both ESM and CJS builds.
Traffic · last 30 days ↑0% vs prev 7d
total hits 7
actors 3 distinct systems
last hit 7d ago human
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · BD