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

88
Views
Using webpack for a blog with multiple entry pages

Writing a small blog and trying to use Webpack, I came to this problem that am not sure how to solve, or if this means WP isn't ideal for this project.

The blog has many pages generated on the fly (mostly the blogposts), all of them automatically include a JS page that is specific for the page, example:

post1.html

<script src='post1.js'></script>
post2.html

<script src='post2.js'></script>

Hence I don't have a single entry.js to convert to bundle.js. Instead, I need webpack to be applied to all the files. Is the only way to automatize this process to add an entry point for each blog post?

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