Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

193
Views
¿Cómo agregar un constructor angular/paquete web personalizado para diferentes entornos?

Actualmente estoy usando el generador personalizado para "servir" en el archivo angular.json, como este

 "serve": { "builder": "@angular-builders/custom-webpack:dev-server", "options": { "browserTarget": "app:build" }, "configurations": { "production": { "browserTarget": "app:build:production" }, "qa": { "browserTarget": "app:build:qa" }, "local": { "browserTarget": "app:build:local" }, }

También intenté agregar la opción de compilador dentro de "local", pero no funciona, entonces, ¿hay alguna forma de agregar este compilador para "servir local"?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Puede agregarlo directamente en architect > build para habilitarlo para todos los entornos:

 "architect": { "build": { "builder": "@angular-builders/custom-webpack:browser", "options": { "customWebpackConfig": { "path": "./webpack.config.js", "replaceDuplicatePlugins": true }, ....
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!