Should all JS files be merged in one? Best practices?

Posted 3 months ago by Cvetan

Do you merge and concatenate third party libraries such as jquery, bootstrap js, etc with custom code and put into one? I've seen one frontend colleague that does that. Or do I pull third party libs from CDN, and only minify my custom file?

What is your approach on this?

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.