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

Confused about source maps and production minified files...

One thing I'm not understanding is how to marry minified .js files production to a source map. It seems like if there was a problem in production, it would be helpful to have an associated map file, as there is in development. But the 'dist' folder doesn't contain the .js map.

Is it a matter of just moving the dev .js map file into the 'dist' folder? I tried this in a test, bt in the Chrome console, don't see a source map. Does something else need to happen because the .js file is minified for production?