Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
grunt-monty-python
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8f636a83
authored
2015-09-18 11:48:01 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add option to skip minification of images.
1 parent
af1c5d27
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
grunt-monty-python.js
grunt-monty-python.js
View file @
8f636a8
...
...
@@ -522,7 +522,12 @@ module.exports = function (grunt) {
}
buildList
.
push
(
'copy:css'
);
// css
if
(
mpConfig
.
images
)
{
var
minify
=
mpConfig
.
images
.
options
.
minify
;
if
(
minify
===
undefined
||
minify
)
{
buildList
.
push
(
'imagemin'
);
// image
}
else
{
buildList
.
push
(
'copy:img'
);
// image
}
buildList
.
push
(
'svgmin'
);
// image
if
(
mpConfig
.
useRev
)
{
buildList
.
push
(
'rev:img'
);
// image
...
...
Please
register
or
sign in
to post a comment