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

81
Visualizações
main in package.json vs main in webpack.config.js

I'm a bit confused about the difference between the main entrypoint between package.json and entry: main in webpack.config.js when both are present in a project setting. Could someone help me explain the difference between the 2, and at which point of the application do we go into which entrypoint? Which one happens first?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

entry: main is domain specific for Webpack and the term main can be replaced by anything. You can call it monsterkitten. This is just the name for the entry. main just seems to be the default.

The main field in package.json has a meaning and is documented on SO here.

The main Webpack entry should not collide in any way with the package.json entry.

about 4 years ago · Juan Pablo Isaza 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