Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8551827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:16:54+00:00 2026-06-11T14:16:54+00:00

Currently we concatenate and minify our individual JavaScript files into one bundle locally –

  • 0

Currently we concatenate and minify our individual JavaScript files into one bundle locally – using Chirpy – and then check the bundle into version control (we are using TFS with Gated checkins).

Our installer then deploys this bundle.

But this is causing a number of problems:

  • is it possible to check in a bundle which does not correspond to the source files.
  • we have merge problems with our ‘Gated Checkin’. Because if two changesets in the checkin queue both contain a new bundle, the second will always conflict with the first.

We have a couple of other ideas: the installer could generate the bundles during deployment, or the server could generate the bundles at runtime as a startup process.

But surely this is a common problem, what is best practice?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T14:16:55+00:00Added an answer on June 11, 2026 at 2:16 pm

    “Best practice” is a scary phrase, because people will often wield it as a club to defend their own personal preferences.

    Both solutions are good, and better than the current system. Which one is best depends on context:

    The installer could generate the bundles during deployment:
    This has the benefit that the deployed JavaScript bundle is guaranteed to be consistent and constant, and can be tested in isolation without firing up the entire system. In general, I would recommend this solution.

    The server could generate the bundles at runtime as a startup process:
    This has the benefit that JavaScript code can be replaced or tweaked directly on the deployed system without going through the build step. This allows you to fix bugs or improve things very rapidly. The downside is that this kind of activity results in a live system that is not in lockstep with the repository, which makes debugging and upgrading painful and error-prone. I personally think it is scary to allow for that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently I concatenate my javascript into one file on build (all.js) For performance reasons
I'm currently using PHP to include multiple css (or js) files into a single
Currently I am using HTML files for parts of my user interface. I display
I'm currently trying to find a way to concatenate several files, typically all files
I am trying to join together several audio files into one mp4/m4a file containing
I'm using pdftk to concatenate pdf files on the fly by making an exec()
currently, I`m implementing a map App with Mono4Droid and there I`m using a WebView
Currently I'm starting a new Activity and calling finish on a current one. Is
Currently working with converting SQLException error messages into messages that are more useful for
Below is the code currently I am using for grouping in listview . I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.