Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

221
Vistas
NestJS: only use webpack for production build

When using NestJS CLI to build apps, it uses WebPack by default - which can be changed in nest-cli.json.

However, WebPack takes time, and most build are for development purposes, on developers' laptops. Can I set Nest CLI to only use WebPack when building for production?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

The easiest way to do this is by passing --tsc and --webpack along with nest start and nest build commands like this:

nest start --tsc // start with typescript
nest start --webpack // start with webpack

If your configurations are complicated then you can create two separate nest-cli.json config file and use --config option to choose each of them depending on your circumstances whether that you are in dev mode or production:

nest start --config [path]
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda