• Jobs
  • About Us
  • Jobs
    • Home
    • Jobs
    • Courses and challenges
  • Businesses
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

145
Views
Webpack + JS: Multiple outputs with one file

It it possible to make several outputs with one JS file, but different versions:

The main JS file should include different settings or extras:

Version 1:

import extras from './extras/john.js'

output: dist/main_john.js

Version 2:

import extras from './extras/susie.js'

output: dist/main_susie.js

and so on. It would be great if it would be possible, to compile different versions that way.

over 3 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 Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Show me some job opportunities
There's an error!