Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

74
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!