Skip to content

SCSS Compiler modifying URLs #207

@JasonKaz

Description

@JasonKaz

Installed product versions

  • Visual Studio: 2015 Enterprise
  • This extension: 1.10.306

Description

This happened after upgrading to VS2015 and away from Web Essentials 2013. Not sure if this is something I can configure currently, but relative URLs in SCSS are being modified when they are compiled, which breaks the reference to the file. It may have to do with my folder structure, but I'd rather not change that and just have the compiled code look exactly the way I expect it.

Current behavior

SCSS:

.glyphicon-blue {
    background-image: url(../../assets/images/glyphicons/glyphicons-halflings-blue.png);
}

CSS:

.glyphicon-blue {
  background-image: url(../images/glyphicons/glyphicons-halflings-blue.png); }

Notice the stripped off "../assets".

Expected behavior

It should not try to fix my URL and output it exactly as I have it in my SCSS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions