dart_sass
dart_sass copied to clipboard
Images and fonts are missing from node_modules css files that use url('...')
A couple of packages that I use have css with entries like background-image: url('./font/somefont.woff2');
in them.
When I use dart_sass, these relative paths are still there and those images/fonts return 404s. Is there something I can configure to either rewrite them as a dataurl (like esbuild would), or to copy those into the output folder?
Hi @CarterQC, sorry for the delayed response. This package is a thin wrapper around the Dart Sass Command-Line Interface, so if it can be done thru the CLI then it is possible here, otherwise there is not much that we can do.