2017 © Pedro Peláez
 

symfony-bundle libsass-bundle

Add libsabb filter for AsseticBundle

image

gollumsf/libsass-bundle

Add libsabb filter for AsseticBundle

  • Wednesday, February 14, 2018
  • by Smeagolworms4
  • Repository
  • 4 Watchers
  • 2 Stars
  • 478 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

libsass-bundle

Add libsabb filter for AsseticBundle into Symfony2, (*1)

For composer :

{
    "require" : {
        "gollumsf/libsass-bundle" : "1.0.0"
    },
    
    "scripts" : {
        "post-update-cmd" : [
            "GollumSF\\LibSassBundle\\DistributionBundle\\Composer\\ScriptHandler::submoduleUpdate"
        ]
    }
}

Register the bundle with your kernel:

// in AppKernel::registerBundles()
$bundles = array(
    // ...
    new GollumSF\LibSassBundle\GollumSFLibSassBundle(),
    // ...
);

Configuration

    
    assetic:
        node:
            bin: ~  # (optional) default: /usr/bin/node
        nodesass:
            bin: ~  # (optional) default: "%kernel.root_dir%/../vendor/sass/node-sass/bin/node-sass"
        filters:
            nodesass:
                resource: '%kernel.root_dir%/../vendor/gollumsf/libsass-bundle/GollumSF/LibSassBundle/Resources/config/nodesass.xml'
                apply_to: "\.scss$" # (optional)
                style: ~            # (optional) default: expanded
                images_dir: ~       # (optional) default: images
                fonts_dir:  ~       # (optional) default: fonts
                http_path: ~        # (optional) 
                load_paths: []      # (optional) 
                
    parameters:
        assetic.nodesass.compiler.usenodeserver: ~     # (optional) default: false       Enabled generate assets routes for node compiler server (Only dor DEV)
        assetic.nodesass.compiler.host: 127.0.0.1      # (optional) default: "127.0.0.1" Host for node compiler server
        assetic.nodesass.compiler.https: "none"        # (optional) default: "none"      must be "none", "detect", "full" for http/https route generated
        assetic.nodesass.compiler.port: 7979           # (optional) default: 7979        HTTP port for compiler server
        assetic.nodesass.compiler.portHttps: 8989      # (optional) default: 8989        HTTPS port for compiler server
                    

Command

Launch compiler dev server if, (*2)

   
php app/console nodesass:compiler

The Versions

14/02 2018

dev-master

9999999-dev https://github.com/GollumSF/libsass-bundle

Add libsabb filter for AsseticBundle

  Sources   Download

GPLv2 GPL-3.0-or-later

The Requires

 

by Damien Duboeuf

filter nodejs compass assetic gollumsf libsass

14/02 2018

1.0.4

1.0.4.0 https://github.com/GollumSF/libsass-bundle

Add libsabb filter for AsseticBundle

  Sources   Download

GPL-3.0-or-later

The Requires

 

by Damien Duboeuf

filter nodejs compass assetic gollumsf libsass

18/06 2016

1.0.3

1.0.3.0 https://github.com/GollumSF/libsass-bundle

Add libsabb filter for AsseticBundle

  Sources   Download

GPLv2

The Requires

 

by Damien Duboeuf

filter nodejs compass assetic gollumsf libsass

18/06 2016

1.0.2

1.0.2.0 https://github.com/GollumSF/libsass-bundle

Add libsabb filter for AsseticBundle

  Sources   Download

GPLv2

The Requires

 

by Damien Duboeuf

filter nodejs compass assetic gollumsf libsass

18/06 2016

1.0.1

1.0.1.0 https://github.com/GollumSF/libsass-bundle

Add libsabb filter for AsseticBundle

  Sources   Download

GPLv2

The Requires

 

by Damien Duboeuf

filter nodejs compass assetic gollumsf libsass

22/10 2015

1.0.0

1.0.0.0 https://github.com/GollumSF/libsass-bundle

Add libsabb filter for AsseticBundle

  Sources   Download

GPLv2

The Requires

 

by Damien Duboeuf

filter nodejs compass assetic gollumsf libsass