You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is useful in cases where the SCSS files are loaded from an external source like a database.
We already have this implemented in a fork (https://github.com/hyvor/scssphp), which we use in production. If this sounds like something worth adding to the library, I'd be happy to send a PR.
The text was updated successfully, but these errors were encountered:
I don't want to add this in the 1.x branch (I don't want to add more new features there, especially introducing new APIs that I would have to deprecate later).
For 2.x (currently in progress and not available yet), the importer API should allow implementing such use case by using a custom importer.
Currently, the library reads from the file system. The idea here is to load
@import
files from a predefined set of strings.This is useful in cases where the SCSS files are loaded from an external source like a database.
We already have this implemented in a fork (https://github.com/hyvor/scssphp), which we use in production. If this sounds like something worth adding to the library, I'd be happy to send a PR.
The text was updated successfully, but these errors were encountered: