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

192
Vistas
How to set up angular 4 with webpack

When i create angular-project(ng new projectname), it automatically build inline.bundle.js, main.bundle.js, polyfills.bundle.js, styles.bundle.js, vender.bundle.js in dist folder. I can use the dist/index.js in backend. So my question is "Ng4 build webpack automatically?"

about 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

When you use angular-cli to create an angular 2 project, the project is automatically build with webpack.

Angular-cli changed from systemjs to webpack a while ago.

If you want to get the webpack configuration file you can use ng eject.

https://github.com/angular/angular-cli/wiki/eject

Edit based on comment:

There is no dependency on webpack in your angular project because angular/cli has a dependency on webpack and will install webpack for you. If you check your node_modules folder, you will see that webpack is there.

about 4 years ago · Santiago Trujillo Denunciar

0

from your project home directory, run the next command:

npm run build

this command will create a folder named dist.

in this folder you will find your files. Edit the file webpack.config.js to change where the webpack places your files.

about 4 years ago · Santiago Trujillo 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