Generates include path arrays for node-sass from npm, bower, Ruby gem, and Bundler sources. Version 4.10.0 (stable, no recent updates). Enables interoperability between Ruby Sass, LibSass, and Eyeglass by scanning node_modules, bower_components, and gem directories for SCSS/SASS packages. Differentiator: provides both async (Promise-based) and sync variants for tools like Gulp. Note: Ruby gem scanning requires a Ruby environment; bower support is legacy.
npm install sass-include-pathsVerified import paths — ran on the pinned version, not inferred.
Shows how to synchronously generate include paths from npm and Ruby gems, then use them with node-sass.
Avoid relying on bowerComponents or bowerComponentsSync if possible.
Ensure Ruby and gems are installed and PATH is set correctly.
Use the Sync variant or await the async method.
Manually add paths for scoped packages or other package managers.
Run npm install sass-include-paths --save-dev and use correct import (see imports section).
Use import { nodeModulesSync } from 'sass-include-paths'Verify the bundle path (default ./vendor/bundle) or customize via options.
No dependency data recorded yet.