S
S
Stepan2014-09-06 23:06:28
JavaScript
Stepan, 2014-09-06 23:06:28

Why doesn't Grunt collect all files into one?

Set it up like this

sass: {
            dist: {
                options: {
                    style: 'nested',
                    noCache: true
                },
                files: {
                    'css/style.css': 'scss/*.scss'
                }
            }
        }

This is what the console outputs in phpStorm
Running "sass:dist" (sass) task
Done, without errors.
Process finished with exit code 0
As a result, the style.css file is empty. Only link to source map

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-09-06
Protko @Fesor

because gulp-contrib-sass doesn't know how to cancatenate. You must feed him the path to the main file with styles, and inside it, all connections should be made.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question