Advertisement
Guest User

Untitled

a guest
May 23rd, 2015
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. // Project configuration.
  2. grunt.initConfig({
  3. pkg: grunt.file.readJSON('package.json'),
  4.  
  5. imagemin: {
  6. skinpng: {
  7. options: {
  8. progressive: 6
  9. },
  10. files: [{
  11. expand: true,
  12. cwd: Config.assetsRoot + 'images/',
  13. src: ['**/*.png'],
  14. dest: Config.assetsRoot + 'images/',
  15. ext: '.png'
  16. }]
  17. },
  18. skinjpg: {
  19. options: {
  20. progressive: true
  21. },
  22. files: [{
  23. expand: true,
  24. cwd: Config.assetsRoot + 'images/',
  25. src: ['**/*.jpg'],
  26. dest: Config.assetsRoot + 'images/',
  27. ext: '.jpg'
  28. }]
  29. },
  30. wysiwygpng: {
  31. options: {
  32. progressive: 6
  33. },
  34. files: [{
  35. expand: true,
  36. cwd: 'media/wysiwyg/',
  37. src: ['**/*.png'],
  38. dest: 'media/wysiwyg/',
  39. ext: '.png'
  40. }]
  41. },
  42. wysiwygjpg: {
  43. options: {
  44. progressive: true
  45. },
  46. files: [{
  47. expand: true,
  48. cwd: 'media/wysiwyg/',
  49. src: ['**/*.jpg'],
  50. dest: 'media/wysiwyg/',
  51. ext: '.jpg'
  52. }]
  53. }
  54. }
  55. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement