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

554
Visualizações
What is bundled into vendor.bundle.js?

The angular-cli is producing vendor.bundle.js when executing a build.

What are the rules of what is going to be considered packed under vendor.bundle.js?

about 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

I think any modules imported into the app.module.ts file will show up in the vendor bundle.

Example app.module.ts:

@NgModule({
  imports: [
    BrowserModule,
    CommonModule,
    FormsModule,
    RouterModule,
  ],
...
about 4 years ago · Santiago Trujillo Relatório

0

vendors.bundle.js bundles every code imported by your app module: this includes local imports like components and services, but also third-party libs like lodash. It basically contains everything, so it's more interesting to see what's not in this file, mainly:

  • inline.bundle.js: webpack loader
  • scripts.build.js: all the scripts declared in angular-cli's scripts entry
  • polyfills.bundle.js: polyfills declared in polyfills.bundle.js

More details here

about 4 years ago · Santiago Trujillo Relatório

0

It has also got to do with packaging. Meaning what's inside your package.json file, located generally in the root folder of your application. Which then makes it possible to load those found within @NgModule({...}) that Kevin posted.

about 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