Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

209
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda