13 Aug 2007
14 Sep 2013
Link to this post
I wonder if it would be possible to make Thunder more aware of development/production version of files, where source files are often .less or .css and on upload you simply need the .min.css to be published.
As more and more features of the VisualStudio WebEssentials extension make it into the core product I wonder if it would be possible for Thunder to pick up on these automatically minified files. The WebEssentials extension allows for automatic creation of .min files on save (whether it's css, js or less). However Thunder doesn't pick up on those minified files.
I use .less for theme creation and automatically let it create a .min.css file for my theme. While the .min.css is physically present in the folder and is part of the .proj file .
Thunder doesn't recognize it when uploading a theme and thus I end up with a /Global folder just containing my .less file, forcing me to manually upload it to the server or do a complete publish in order to get it to work.
Thunder also ignores any 'build' properties on files.
Say for some reason I have a layout.css and layout.min.css in the same folder (as seperate files).
If I mark the layout.css as 'none' instead of 'content' then a VisualStudio publish will exclude the file from being published. Thunder however blindly uploads both files, causing me again to dive into the server's folder structure to remove the development version of the css file ...
Thanks in advance,