https://github.com/milankovacic/nx-nest-tsc-example
Example of using tsc instead of webpack for development of nest applications with nx.
https://github.com/milankovacic/nx-nest-tsc-example
nest nestjs nx tsc webpack
Last synced: 4 months ago
JSON representation
Example of using tsc instead of webpack for development of nest applications with nx.
- Host: GitHub
- URL: https://github.com/milankovacic/nx-nest-tsc-example
- Owner: MilanKovacic
- Created: 2024-10-08T03:00:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-20T06:09:27.000Z (over 1 year ago)
- Last Synced: 2025-10-13T00:45:16.231Z (8 months ago)
- Topics: nest, nestjs, nx, tsc, webpack
- Language: TypeScript
- Homepage:
- Size: 1.01 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nx + Nest + TSC example
This repository is an example of using Nx with Nest, without webpack.
## Process
1. Create a new Nx workspace
2. Add a Nest application (apps/backend) using @nx/nest plugin
3. Modify the Nest application to use TSC executor instead of webpack (apps/backend/project.json)
4. Add a Nest library (libs/backend-library) using @nx/nest plugin
5. Import the library into the application (apps/backend/src/main.ts)
## Limitations
- tsc executor currently does not support generating trimmed package.json/lock pairs for production builds