{"library":"esbuild-plugin-tsconfig-paths","type":"library","category":null,"description":"An esbuild plugin that converts TypeScript path aliases defined in tsconfig.json's compilerOptions.paths to relative import paths during build. This avoids the need for runtime alias resolution, making output bundles self-contained and easier to distribute. Version 1.0.2 is the latest stable release with TypeScript type declarations and compatibility fixes. It works by hooking into esbuild's onLoad phase, rewriting static import statements that match the configured paths. Key differentiators: lightweight, zero runtime dependencies, focused solely on path transformation without affecting other esbuild behavior. Compared to alternatives like tsconfig-paths-webpack-plugin or vite-tsconfig-paths, this plugin is designed specifically for esbuild's streaming, fast build pipeline.","language":"javascript","status":"active","version":"1.0.2","tags":["javascript","typescript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install esbuild-plugin-tsconfig-paths","imports":["import { tsconfigPathsPlugin } from 'esbuild-plugin-tsconfig-paths'","import tsconfigPathsPlugin from 'esbuild-plugin-tsconfig-paths'","import type { TsconfigPathsPluginOptions } from 'esbuild-plugin-tsconfig-paths'"]},{"cmd":"yarn add esbuild-plugin-tsconfig-paths","imports":[]},{"cmd":"pnpm add esbuild-plugin-tsconfig-paths","imports":[]}],"homepage":null,"github":"https://github.com/wjfei/esbuild-plugin-tsconfig-paths","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/esbuild-plugin-tsconfig-paths","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}