Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Calculator

0

62
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.

7 months ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post job Plans Our process Sales
Legal
Terms and conditions Privacy policy
© 2023 PeakU Inc. All Rights Reserved.