Support files references in Sass stylesheets?

Hi @bep, I know the current release does not support files references in Sass stylesheets, but is this a feature you would consider for future releases?

I think it would be very useful because it could load in fonts and images from packages in node_modules and also potentially allow for image processing of images references in CSS.

You can already use resources.ExecuteAsTemplate to minify and fingerprint images referenced in css properties.

Thanks, I wasn’t aware of that.

It would be nice to also be able to reference images in node_modules as that was listed as one of the motivations for creating this feature. Being able to include FontAwesome through NPM would be great.

Just use a symlink or write an npm script to copy the assets. Simple. Beware of copyrights with method 2.