Narcissistic Project Managers

    @ticketmaster/grunt-sass

    1.1.0-tm2 • Public • Published

    grunt-sass Build Status

    Compile Sass to CSS using node-sass

    Issues with the output should be reported on the libsass issue tracker.

    This task uses libsass which is a Sass compiler in C++. In contrast to the original Ruby compiler, this one is much faster, but is missing some features, though improving quickly. It also doesn't support Compass. Check out grunt-contrib-sass if you prefer something more stable, but slower.

    Install

    $ npm install --save-dev grunt-sass
    

    Usage

    require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks
    
    grunt.initConfig({
    	sass: {
    		options: {
    			sourceMap: true
    		},
    		dist: {
    			files: {
    				'main.css': 'main.scss'
    			}
    		}
    	}
    });
    
    grunt.registerTask('default', ['sass']);

    Files starting with _ are ignored to match the expected Sass partial behaviour.

    Options

    See the node-sass options, except for file, outFile, success, error.

    The default value for the precision option is 10, so you don't have to change it when using Bootstrap.

    License

    MIT © Sindre Sorhus

    Install

    npm i @ticketmaster/grunt-sass

    DownloadsWeekly Downloads

    3

    Version

    1.1.0-tm2

    License

    MIT

    Last publish

    Collaborators

    • tmtech
    • traynak
    • sk89q
    • george.yue
    • tm_platinum
    • chestersound
    • taddei
    • tmsean
    • iccpfrontend
    • tm1-marketing
    • resaleengineering
    • ccpdiscovery
    • tm1salesfrontend
    • lndtfrontend
    • evan.altman
    • b2bauroraextensionsdevelopers
    • livn.spons.frontend
    • dansel
    • mikeanama
    • mindosilalahi
    • tmlabs.projects
    • secureaccountsnpm
    • edpteam
    • eibfrontend
    • lndigital
    • safetix_ui_tool
    • namme
    • corpwebsites
    • presencefrontend
    • tm1reports
    • afterpay-ticketmaster
    • tm-intl-enterprise
    • wojciech.jawor
    • zbremantm