Taritsyn / LibSassHost

.NET wrapper around the LibSass library with the ability to support a virtual file system.
Apache License 2.0
82 stars 11 forks source link

Use of LibSassHost in an Azure web App with server side compiling #17

Closed marinswk closed 7 years ago

marinswk commented 7 years ago

Hello, as in the title I'm trying to implement a solution for compiling some scss to css on request in the backend in an Azure web App.

When requested I need to read the main scss file containing all the import from my server, modify the content of one of the imported files (is a colour string that needs to be replaced with a database fetched one) and then compile everything to a css string.

Is that possible with your library?

I've read through your code and is a really great job but I still have some doubts about the usage, thus my question.

greetings!

Taritsyn commented 7 years ago

Hello, Andrea!

See the Bundle Transformer project and the BundleTransformer.SassAndScss module. Also I recommend you to read the “Sending parameters to scss file” discussion.

marinswk commented 7 years ago

thanks for the reply and the hints.

where can i find some examples and code usage of the BundleTransformer.SassAndScss ?

Taritsyn commented 7 years ago

Read the following sections of the documentation: “Before you read”, “Examples of usage”, “Configuration settings”, “Debugging HTTP handlers”, “Bundle Transformer: Sass and SCSS” and “Additional reading and resources”.

More I can not help.

marinswk commented 7 years ago

ok thanks a lot for all the hints, I'll read through it and give you my feedback !!