Title: Sass sourcemap compiling improperly
Last modified: July 22, 2017

---

# Sass sourcemap compiling improperly

 *  Resolved [dianat](https://wordpress.org/support/users/dianat/)
 * (@dianat)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/sass-sourcemap-compiling-improperly/)
 * The Sass sourcemap in my theme has started pointing me in the wrong source file
   while inspecting code in Chrome and Firefox.
 * I’ve tried:
 * 1) Removing everything but the [@import](https://wordpress.org/support/users/import/)
   statements from the entry files as a workaround for Chrome issues.
 * 2) Recompiling the sourcemap at command line with –sourcemap which I found out
   was deprecated.
 * 3) Renaming the sourcemap and recompiling. New sourcemap was created, but errors
   are still included.
 * I know this is more of a Sass question. Since I’m using Underscores I thought
   someone here would have an idea.
 * Any idea what I can do to fix this?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/sass-sourcemap-compiling-improperly/#post-9341847)
 * What theme are you using?
    Downloaded from?
 *  Thread Starter [dianat](https://wordpress.org/support/users/dianat/)
 * (@dianat)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/sass-sourcemap-compiling-improperly/#post-9341917)
 * Oh, sorry, thought I mentioned, Underscores, downloaded from [http://underscores.me/](http://underscores.me/).
 * I figured it out. For anyone having sourcemap issues, I removed files not listed
   in the entry files and the sourcemap is back to normal.
 * Thanks, t-p.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/sass-sourcemap-compiling-improperly/#post-9341957)
 * > I figured it out.
 * glad to know it 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Sass sourcemap compiling improperly’ is closed to new replies.

## Tags

 * [sass](https://wordpress.org/support/topic-tag/sass/)
 * [sourcemap](https://wordpress.org/support/topic-tag/sourcemap/)
 * [underscores](https://wordpress.org/support/topic-tag/underscores/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/sass-sourcemap-compiling-improperly/#post-9341957)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
