Thanks for the package. I would like to add dependency based on a scss file. For a minimal example:
// custom.scss
$color: red;
To be able to use htmlDependency, I have to convert custom.scss to custom.min.css first and:
htmltools::htmlDependency(
name = "example",
version = "v1"
package = "example",
src = "www",
stylesheet = "custom.min.css",
all_files = FALSE
)
I wonder if currently it is possible to read sass file directly for stylesheet of htmltools::htmlDependency? If not, can we add a feature to read "css" string (I can use sass package to achieve so) ?
Thanks for the package. I would like to add dependency based on a scss file. For a minimal example:
To be able to use
htmlDependency
, I have to convertcustom.scss
tocustom.min.css
first and:I wonder if currently it is possible to read sass file directly for
stylesheet
ofhtmltools::htmlDependency
? If not, can we add a feature to read "css" string (I can use sass package to achieve so) ?