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

207
Vistas
Angular AOT with Webpack

Is there any documentation out there on how to get Angular4 working with webpack with AOT? I checked a number of articles but they dont seem to work properly.

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

0

you can use @ngtools/webpack plugin fir this.

Install the plugin and use like this

{
  test: /\.ts?$/,
  use: '@ngtools/webpack',
}

and add to plugin

new ngtools.AotPlugin({
    tsConfigPath: path.join(process.cwd(), 'tsconfig.json'),
    entryModule: path.join(process.cwd(), 'src/app/app.module#AppModule')
})
over 4 years ago · Santiago Trujillo Denunciar

0

The Angular CLI uses webpack: https://cli.angular.io/

It's pretty nice to use to start projects, the only downside to using the CLI is that you have little (no) control over the webpack configuration.

over 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