sass_compile#
- ignis.utils.Utils.sass_compile(path: str | None = None, string: str | None = None) str #
Compile a SASS/SCSS file or string. Requires Dart Sass.
- Parameters:
- Raises:
TypeError -- If neither of the arguments is provided.
DartSassNotFoundError -- If Dart Sass not found.
SassCompilationError -- If an error occurred while compiling SASS/SCSS.
- Return type: