Saish Sk
Saish Sk

Reputation: 21

Bundle JS and CSS for a PHP Web application?

I am building a website using PHP and Slim framework. I have about 12 Javascript files and 8 CSS files and am looking to bundle them in order to decrease the number of HTTP requests. I have come across webpack and require js that might help with this problem but I don't know if those are the right options and also how to het started with it ?

Upvotes: 0

Views: 2232

Answers (1)

odan
odan

Reputation: 4962

You have multiple options to bundle assets. For example Webpack or something more specific for PHP and Slim twig-assets.

Upvotes: 1

Related Questions