question about css files

34 views
Skip to first unread message

Bryan

unread,
Apr 3, 2012, 10:37:01 PM4/3/12
to DotLess (Less Css for .NET)
I have several jquery plugins that I use which include one or more css
files. jQuery.UI for example. I'd like to have them all bundled up
automagically into a single css file at runtime and minified once we
go to production. I've tried it with the @import directive in my
main .less file but that didn't do it. Do I have to rename those
files to .less for it to work?

Daniel Hölbling

unread,
Apr 4, 2012, 3:21:24 AM4/4/12
to dot...@googlegroups.com
No if you @import a .css file it should be included without further processing.

greetings Daniel

Luke Page

unread,
Apr 4, 2012, 4:08:26 PM4/4/12
to dot...@googlegroups.com

actually dot less used to keep the @import intact.

There is now an option for whether to import the CSS in directly, keep the import or treat the file as if its less.

Dot less also needs to find the files in order to import the files. Let us know if you can't find the option and how you use dot less.

Reply all
Reply to author
Forward
0 new messages