J
J
Just2020-06-28 16:53:01
Sass
Just, 2020-06-28 16:53:01

How to prevent live sass compiler for vscode from writing full paths to files?

How to prevent live sass compiler for vscode from writing full paths to files when importing, for example, in my .sass file there is an import: and in the compiled sass.min.css file I have the full path:

@import "../css/null.min.css"



@import url(c:\Users\root\Documents\work\migrate-eu\css\null.min.css)


My settings:

{
            "format": "compressed",
            "extensionName": ".min.css",
            "savePath": "/css"
        }
    ],
    "liveSassCompile.settings.autoprefix": [],
    "liveServer.settings.port": 5000,
    "liveSassCompile.settings.generateMap": false
}


how to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
evg612, 2020-07-17
@evg612

Hey!
Try this: in css you will get what you need)
@import url('bootstrap-reboot.min.css')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question