All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scripts.compile.rb Maven / Gradle / Ivy

Go to download

The LonelyStorm Air Asset library provides support to be able to compile SASS files at runtime.

There is a newer version: 0.1.8
Show newest version

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