Get all nested imported files from passed SCSS
Getting Started
This plugin requires Grunt ~0.4.0
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-dependent-styles --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt;
Usage
The result, which contains dependent style files, will be placed into grunt.config
at dependentStyles.result
section.
If namespace
is provided - it will be appended to path string: dependentStyles.result.theNamespace
.
You can pass found style files to the next grunt task, using Grunt template string <%= dependentStyles.result %>
.
Useful, when you need to
grunt; grunt;
Options
options.namespace
Type: String
Default value: name of the task (target)
Dependent styles result object namespace.
options.skipPartials
Type: Boolean
Default value: true
Skip styles which name starts with leading underscore.
options.styleOpts
Type: Object
Default value: {}
Options for sass-graph plugin.