An Nx plugin that enables using ESBuild as the build system for Angular applications within an Nx workspace. Version 0.5.3 is the current stable release. The package provides generators to add ESBuild configuration to existing Angular apps or scaffold new apps with ESBuild support. It offers faster builds compared to the default Angular builder, though it currently produces larger bundle sizes and lacks features like type checking, file hashing, caching, and production readiness. It supports build, watch, and serve modes. The library is in early development and not recommended for production use.
npm install nx-ng-esbuildNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Commands to install the plugin, generate a new Angular app, build, and serve with custom port.
Pin to exact version and test upgrades carefully.
Add a separate type-checking step (e.g., tsc --noEmit).
Consider alternative builders if bundle size is critical.
Implement custom hashing or use Nx caching with proper inputs.
Do not rely on --dry-run; test changes on a separate branch.
Ensure package is installed: npm install --save-dev nx-ng-esbuild
Ensure 'serve' option is set to true when using 'port': nx run app:esbuild --serve=true --port=4201
Provide a valid project name: nx g nx-ng-esbuild:add-esbuild-config myApp
No dependency data recorded yet.