Remove all CSS comments from minified files
This commit is contained in:
parent
837fbe3763
commit
a1adedb2b1
5 changed files with 15 additions and 28 deletions
11
gulpfile.js
11
gulpfile.js
|
|
@ -31,6 +31,17 @@ elixir.config.js.folder = '';
|
|||
*/
|
||||
elixir.config.css.folder = '';
|
||||
|
||||
/**
|
||||
* Remove all CSS comments
|
||||
*
|
||||
* @type {{discardComments: {removeAll: boolean}}}
|
||||
*/
|
||||
elixir.config.css.cssnano.pluginOptions = {
|
||||
discardComments: {
|
||||
removeAll: true
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Directory for bower source files.
|
||||
* If changing this, please also see .bowerrc
|
||||
|
|
|
|||
19
public/css/built.css
vendored
19
public/css/built.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
9
public/css/built.public.css
vendored
9
public/css/built.public.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue