Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Gulp Basics Improving your Gulp Task Pipelines Where to next?

What If I render separate css / js files for different web pages for a large scale website?

Most examples I've seen so far regarding task runners is for a a single minified concatenated css or js file that will include the code that applies to all of the webpages in the website.

What if there is a large scale website where I prefer having a separate css and js file per each page. I still would like to keep a modular workflow and concatenate different css and js components into a single minified concatenated file which is relevant for this page and not the entire website.

How do I go about it with Gulp or any other task runner.