mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
compress to 7 levels and only watch public files
This commit is contained in:
parent
b1e4af098d
commit
4fc9c9a263
1 changed files with 6 additions and 3 deletions
|
@ -28,7 +28,7 @@ module.exports = (grunt) ->
|
|||
|
||||
watch:
|
||||
coffee:
|
||||
files: '**/*.coffee'
|
||||
files: 'public/**/*.coffee'
|
||||
tasks: ['quickcompile:coffee']
|
||||
options: {}
|
||||
|
||||
|
@ -47,14 +47,17 @@ module.exports = (grunt) ->
|
|||
|
||||
|
||||
imagemin:
|
||||
dynamic: {
|
||||
dynamic:
|
||||
files: [{
|
||||
expand: true
|
||||
cwd: 'public/img/'
|
||||
src: ['**/*.{png,jpg,gif}']
|
||||
dest: 'public/img/'
|
||||
}]
|
||||
}
|
||||
options:
|
||||
optimizationLevel: 7
|
||||
|
||||
|
||||
|
||||
coffee:
|
||||
app_dir:
|
||||
|
|
Loading…
Reference in a new issue