![JAR search and dependency download from the Maven repository](/logo.png)
scripts.compile.rb Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of air-asset Show documentation
Show all versions of air-asset Show documentation
The LonelyStorm Air Asset library provides support to be able to compile SASS files at runtime.
engine = Sass::Engine.new($content, {
:style => :compressed,
:cache => false,
:filename => $filename,
:load_paths => $loadPaths,
:syntax => :scss,
:filesystem_importer => Sass::Importers::ImportAemRepository
})
# result, map = engine.render_with_sourcemap('somefile.css')
result = engine.render()
© 2015 - 2025 Weber Informatics LLC | Privacy Policy