Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,650 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 : )