Re:Bling – the $ of jQuery without the jQuery
by bakabaka9 on Monday June 15, 2015 @11:31AM
(#9719952)
In the worst case, you can do something along the lines of
[file1, file2, file3].join(';\n')
albeit if you're using any kind of post-processing tool, like UglifyJS or Google's Closure compiler, then everything just works, as these tools actually parse JavaScript. There's usually no need to explicitly concatenate the code prior to minification or other processing.
Which becomes really annoying if you just want to quickly concatenate a few files together.
Sure, it's something that you can fix yourself; I'd consider it a common courtesy to include at least one, though.