【jQuery】長すぎるJavaScriptファイルを分割したい

jQueryプラグインJavaScriptファイルの行数が1600行を超えて読みづらくなったので、複数のファイルに分割する方法をあれこれ考えましたが、2017年現在、Webpackgrunt-contrib-concatなど有名で安定した方法があるので、それを使うのがいいと思います。

以前は自前で方法を考え出して、それが正しいかをjQueryフォーラムで質問したりしていました。
以下はその記録です。


jQueryフォーラムでの質問
http://forum.jquery.com/topic/i-want-to-divide-a-javascript-file-of-jquery-plugin

上の質問に対して、下記のような返信をいただきました。
至極当然の事実。
…なぜこんな簡単なことに気づかなかったのか!
改めて考えてみると恐ろしい…orz


Dividing it up into three different scripts makes the three of them larger overall, and requires the browser to make three http requests instead of one ( there is a max number of concurrent http requests ) which can cause a slower page load if there are a large number of scripts stylesheets and images on the page since there is a limited number of requests that can be happening at the same time, depending on browser.

the size of each file may be smaller, but the overall footprint will be larger. It is better to have 1 file.

from Kevin

訳すと、

ファイルを分割すると全体として大きくなるし、ブラウザへのリクエストの回数も増えるし、そのせいでページの読み込みは遅くなるし…。
各ファイルのサイズは小さくなるかもしれませんが、全体の重さは増えますよ。
1つにまとめるべきです。
…って意味でしょうか?
なんと至極当然の事実!
私は、いったい何を血迷っていたのか!!