{"id":25029,"library":"broccoli-sass","title":"broccoli-sass","description":"A Broccoli plugin that compiles Sass/SCSS files to CSS using libsass (C++ implementation), providing faster compilation than Ruby Sass. Version 0.7.0 is stable but unmaintained since 2016. Unlike node-sass or dart-sass wrappers, it integrates directly with the Broccoli build system. It supports .scss and .sass files, custom include paths, and options like outputStyle and sourceComments.","status":"abandoned","version":"0.7.0","language":"javascript","source_language":"en","source_url":"https://github.com/joliss/broccoli-sass","tags":["javascript","broccoli-plugin","sass","scss","css","libsass"],"install":[{"cmd":"npm install broccoli-sass","lang":"bash","label":"npm"},{"cmd":"yarn add broccoli-sass","lang":"bash","label":"yarn"},{"cmd":"pnpm add broccoli-sass","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"This package does not support ES modules; use CommonJS require.","wrong":"import BroccoliSass from 'broccoli-sass';","symbol":"BroccoliSass","correct":"var BroccoliSass = require('broccoli-sass');"},{"note":"BroccoliSass is a constructor and must be instantiated with new.","wrong":"BroccoliSass(inputNodes, inputFile, outputFile, options);","symbol":"BroccoliSass class","correct":"new BroccoliSass(inputNodes, inputFile, outputFile, options);"},{"note":"The option key is outputStyle (not style) per libsass convention.","wrong":"options.style = 'expanded';","symbol":"outputStyle option","correct":"options.outputStyle = 'expanded';"}],"quickstart":{"code":"var BroccoliSass = require('broccoli-sass');\nvar sourceMap = require('broccoli-source');\nvar funnel = require('broccoli-funnel');\n\nvar styles = new BroccoliSass(\n  ['styles', 'vendor'],\n  'myapp/app.scss',\n  'assets/app.css',\n  { outputStyle: 'compressed' }\n);\n\nmodule.exports = styles;","lang":"javascript","description":"Compiles app.scss from styles directory, with vendor as additional include path, outputting compressed CSS to assets/app.css."},"warnings":[{"fix":"Switch to broccoli-sass-source-maps or use broccoli-plugin with sass package.","message":"Package is unmaintained since 2016. Use broccoli-sass-source-maps or node-sass directly.","severity":"deprecated","affected_versions":">=0.1.0"},{"fix":"Use 'sourceMap' and 'sourceMapContents' options instead.","message":"Options are passed directly to libsass; 'sourceComments' is deprecated in newer libsass versions.","severity":"gotcha","affected_versions":">=0.5.0"},{"fix":"Ensure inputFile path is relative to inputNodes[0].","message":"Input file must exist in the first input node; otherwise compilation fails silently.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'npm install --save-dev broccoli-sass' in your project directory.","cause":"Missing npm install or incorrect package name.","error":"Error: Cannot find module 'broccoli-sass'"},{"fix":"Use 'new BroccoliSass(...)' instead of 'BroccoliSass(...)'.","cause":"Missing 'new' keyword when instantiation.","error":"TypeError: BroccoliSass is not a constructor"},{"fix":"Verify inputFile is relative to inputNodes[0] and exists.","cause":"Input file path is incorrect or missing in the first input node.","error":"Error: ENOENT: no such file or directory, open '...'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}