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 The Build and Development Pipeline

Jess Hines
Jess Hines
5,411 Points

Where is the reference to app.min.js?

Index.html asks for the "js/app.js" file. When the build task is run, a "js/app.min.js" file is created, but the index.html file doesn't change.

Was a step missed here in the build to edit the index.html file, or should there not be a rename function in the minifiyScripts task?

Zack Lee
Zack Lee
Courses Plus Student 17,662 Points

app.min.js is the minified version of the app.js file. index.html should just add this minified script and not reference the app.js file

Stephanie Burrows
Stephanie Burrows
7,251 Points

I am also having this problem. Zach Lee I understand your comment but I don't know how to achieve that outcome? Any help would be appreciated! Thanks : )