Mindscape Web Workbench duplicates CSS files when compiling with Sass

I installed Mindscape Web Workbench with my Visual Studio 2010 project so that the compiled SCSS files are displayed in a separate folder. My supposed structure looks something like this:

Styles/ | |– output/ | |– toMain.css | |– toMain.css.map | | – toMain.scss 

But I get 2 outputs, for example:

 Styles/ | |– output/ | |– toMain.css | |– toMain.css.map | | – toMain.scss | |– toMain.css | |– toMain.css.map 

I double-checked the output options for the toMain.scss file via Mindscape > Web Workbench Settings , and the only output that I see is really the file that is set for the Styles/output folder, but I'm still getting a duplicate. I have no other extension in VS2010 that handles SASS, and I cannot find any information about this problem anywhere. Are there other settings for the extension that might be causing this?

EDIT: It may be worth noting that I'm using Team Foundation Server with this project, so the output CSS is excluded from the original control. I'm not sure if that matters.

+5
source share
1 answer

I had it too. A file with a .map extension is used to decode a compressed file, for example, you have a .js file that you minimize to .min.js to help unzip a file that you can use .map. Therefore, if you said that .map is displayed in your generated folder, it means that you are compressed css. So, you have 2 options: 1. do not compress your css file. 2. Locate the option to not generate the .map file.

im using prepros, this is the parameter for this.

0
source

Source: https://habr.com/ru/post/1233049/


All Articles