Recursively includes SASS Partials in all Subdirectories
npm install grunt-sass-recursive-import~0.4.5
shell
npm install grunt-sass-recursive-import --save-dev
`
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
`js
grunt.loadNpmTasks('grunt-sass-recursive-import');
`
The "sass_recursive_import" task
$3
Find any SASS partial (beginning with an underscore _) which resides inside the directory of main.scss and its sub-directories and import them into main.scss.
`js
grunt.initConfig({
sass_recursive_import: {
options: {},
files: {
dest: ['src/scss/main.scss']
},
},
});
``