Guides
Switch to Workspaces and TS Project References
Learn how to migrate from TypeScript path aliases to package manager workspaces for project linking, enabling TypeScript project references for better performance.
Enable Typescript Batch Mode
Learn how to use TypeScript's batch mode in Nx to significantly improve build performance by batching TypeScript compilation tasks into a single process.
Define Secondary Entrypoints for Typescript Packages
Learn how to configure multiple entry points for your TypeScript packages using Nx, allowing consumers to import specific parts of your library.
Compile Typescript Packages to Multiple Formats
Learn how to use Nx with Rollup to compile TypeScript libraries to both ESM and CommonJS formats for maximum compatibility.
Use JavaScript instead TypeScript
Learn how to use Nx with both JavaScript and TypeScript, including how to generate JS files, mix languages in your workspace, and build TypeScript packages with advanced features.