An open API service indexing awesome lists of open source software.

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.

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