mirror of
				https://github.com/mdbootstrap/mdb-ui-kit.git
				synced 2025-10-30 23:47:42 +03:00 
			
		
		
		
	updating grunt with load grunt tasks
This commit is contained in:
		
							parent
							
								
									696fb505b2
								
							
						
					
					
						commit
						59a32cad83
					
				
							
								
								
									
										10
									
								
								gruntfile.js
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								gruntfile.js
									
									
									
									
									
								
							|  | @ -2,6 +2,8 @@ module.exports = function(grunt) { | ||||||
| 
 | 
 | ||||||
|     "use strict"; |     "use strict"; | ||||||
| 
 | 
 | ||||||
|  |     require('load-grunt-tasks')(grunt); | ||||||
|  | 
 | ||||||
|     grunt.initConfig({ |     grunt.initConfig({ | ||||||
| 
 | 
 | ||||||
|         less: { |         less: { | ||||||
|  | @ -37,7 +39,7 @@ module.exports = function(grunt) { | ||||||
|                     "css-compiled/material-wfont.css": "css-compiled/material-wfont.css", |                     "css-compiled/material-wfont.css": "css-compiled/material-wfont.css", | ||||||
|                     "css-compiled/ripples.css": "css-compiled/ripples.css" |                     "css-compiled/ripples.css": "css-compiled/ripples.css" | ||||||
|                 } |                 } | ||||||
|             }, |             } | ||||||
|         }, |         }, | ||||||
| 
 | 
 | ||||||
|         cssmin: { |         cssmin: { | ||||||
|  | @ -63,11 +65,7 @@ module.exports = function(grunt) { | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|     }); |     }); | ||||||
|     grunt.loadNpmTasks("grunt-contrib-less"); | 
 | ||||||
|     grunt.loadNpmTasks("grunt-contrib-sass"); |  | ||||||
|     grunt.loadNpmTasks("grunt-autoprefixer"); |  | ||||||
|     grunt.loadNpmTasks("grunt-contrib-cssmin"); |  | ||||||
|     grunt.loadNpmTasks("grunt-contrib-copy"); |  | ||||||
|     grunt.registerTask("default", ["less", "autoprefixer", "cssmin", "copy"]); |     grunt.registerTask("default", ["less", "autoprefixer", "cssmin", "copy"]); | ||||||
|     grunt.registerTask("scss", ["sass", "autoprefixer", "cssmin", "copy"]); |     grunt.registerTask("scss", ["sass", "autoprefixer", "cssmin", "copy"]); | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | @ -22,6 +22,7 @@ | ||||||
|     "grunt-contrib-copy": "^0.6.0", |     "grunt-contrib-copy": "^0.6.0", | ||||||
|     "grunt-contrib-cssmin": "^0.10.0", |     "grunt-contrib-cssmin": "^0.10.0", | ||||||
|     "grunt-contrib-less": "^0.11.4", |     "grunt-contrib-less": "^0.11.4", | ||||||
|     "grunt-contrib-sass": "^0.8.1" |     "grunt-contrib-sass": "^0.8.1", | ||||||
|  |     "load-grunt-tasks": "^0.6.0" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user