Answer the question
In order to leave comments, you need to log in
How to configure grunt-revizor?
Good evening!
I do everything for mana , but I don’t understand why he does 2 things, not the way he should.
1. Spits out files (-min) in the same folder where they are.
2. Does not compress class names.
html: <div class="testClassesLong--">long class</div>
css:
.testClassesLong-- {
color: red;
}
module.exports = function(grunt) {
grunt.initConfig({
revizor: {
options: {},
src: ['test/test.html', 'test/test.css'],
dest: 'build/'
}
});
grunt.loadNpmTasks('grunt-revizor');
return grunt.registerTask('default', ['revizor']);
};
Answer the question
In order to leave comments, you need to log in
Specified in an obvious way: namePrefix: '--'
Confusing in mana this line :
Type: String Default value: '--'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question