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 trialDon Macarthur
28,430 PointsGulp Minify app.js
Hi guys,
I've followed along with this video and my output file, app.min.js, is huge!
Most of the code it throws up is showing as greyed out in my text editor (Atom) so I'm assuming it's been commented out - although I don't see any comment tokens anywhere.
Is this an issue that I should be worried about?
I've uploaded my project folder to GitHub at the following repository:-
https://github.com/Donatron/GulpBasics
Thanks in advance for any help. Don :-)
Don Macarthur
28,430 PointsHi Fernando,
My apologies for not being clearer. Yes, it's in terms of characters. In the video Huston's minified file is only two or three lines long but mine is thousands!
Thanks for the reply Don :-)
1 Answer
Don Macarthur
28,430 PointsActually, I figured it out. It's just my text editor wrapping the output code so it is all displayed, rather than everything being on a couple of very long lines.
A little later in the videos Huston scrolls through some of the output and his code goes forever to the right of screen.
Thanks again for look at it for me.
Cheers Don :-)
Fernando Boza
25,384 PointsFernando Boza
25,384 PointsHi Don, when you mean your app.min.js is huge, is that in terms of file size or characters?