This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
This might be simple and easy to solve but I'm stumped: I have 3 SCSS files in the SASS directory of my solution:
Default.scss is the main stylesheet and within the file are two include statements:
This merges the other files into the one file called Default.scss. This works great! The only problem is, that even though the files are merged into one, it still outputs a copy of the original files into the Stylesheets directory? The Stylesheets directory should only contain:
But instead it contains:
Any ideas how I can merge the files but stop the originals from being outputted? Many thanks Chris |
|
|
Hi Chris, Are you using Compass or just standard Sass? If its the latter you will want to uncheck the "Compile" flag for the files you dont need to compile under the project settings for Web Workbench (right click on the project and in the context menu select "Web Workbench Settings.." to being up this dialog).
|
|
|
Hi Jeremy, What if you are using Compass? Is there a setting to prevent SCSS imported files from being compiled to CSS when using Compass? Thanks so much, Robert |
|
|
Compass follows the Sass convention of compiling any files which are not prefixed with an underscore (see: http://sass-lang.com/documentation/file.SASSREFERENCE.html#partials) so you should just prefix the include files you dont intend to be compiled with an underscore to manage this.
|
|