mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
removed imagemin
This commit is contained in:
parent
882e28a811
commit
7cb266d904
2 changed files with 13 additions and 13 deletions
|
@ -17,7 +17,7 @@ module.exports = (grunt) ->
|
|||
grunt.loadNpmTasks 'grunt-contrib-watch'
|
||||
grunt.loadNpmTasks 'grunt-parallel'
|
||||
grunt.loadNpmTasks 'grunt-exec'
|
||||
grunt.loadNpmTasks 'grunt-contrib-imagemin'
|
||||
# grunt.loadNpmTasks 'grunt-contrib-imagemin'
|
||||
grunt.loadNpmTasks 'grunt-contrib-cssmin'
|
||||
|
||||
config =
|
||||
|
@ -47,17 +47,17 @@ module.exports = (grunt) ->
|
|||
stream:true
|
||||
|
||||
|
||||
imagemin:
|
||||
dynamic:
|
||||
files: [{
|
||||
expand: true
|
||||
cwd: 'public/img/'
|
||||
src: ['**/*.{png,jpg,gif}']
|
||||
dest: 'public/img/'
|
||||
}]
|
||||
options:
|
||||
interlaced:false
|
||||
optimizationLevel: 7
|
||||
# imagemin:
|
||||
# dynamic:
|
||||
# files: [{
|
||||
# expand: true
|
||||
# cwd: 'public/img/'
|
||||
# src: ['**/*.{png,jpg,gif}']
|
||||
# dest: 'public/img/'
|
||||
# }]
|
||||
# options:
|
||||
# interlaced:false
|
||||
# optimizationLevel: 7
|
||||
|
||||
|
||||
|
||||
|
@ -218,6 +218,7 @@ module.exports = (grunt) ->
|
|||
pattern: "@@RELEASE@@"
|
||||
replacement: process.env.BUILD_NUMBER || "(unknown build)"
|
||||
|
||||
|
||||
|
||||
|
||||
availabletasks:
|
||||
|
|
|
@ -70,7 +70,6 @@
|
|||
"grunt-contrib-clean": "0.5.0",
|
||||
"grunt-contrib-coffee": "0.10.0",
|
||||
"grunt-contrib-cssmin": "^1.0.1",
|
||||
"grunt-contrib-imagemin": "^1.0.1",
|
||||
"grunt-contrib-less": "0.9.0",
|
||||
"grunt-contrib-requirejs": "0.4.1",
|
||||
"grunt-contrib-watch": "^1.0.0",
|
||||
|
|
Loading…
Reference in a new issue