Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Destinyguru

Members
  • Posts

    1
  • Joined

  • Last visited

About Destinyguru

  • Birthday 01/01/1992

Contact Methods

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Destinyguru's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. You say not to learn them unless you need them because of how complex they can be, but what do you do if you don’t have… LOVE GURU IN DELHI LOVE GURU SPECIALIST KALA JADU SPECIALIST module.exports = function(grunt) { grunt.initConfig({ jsDir: 'public/javascripts/', jsDistDir: 'dist/javascripts/', cssDir: 'public/stylesheets/', cssDistDir: 'dist/stylesheets/', pkg: grunt.file.readJSON('package.json'), concat: { js: { options: { separator: ';' }, src: ['<%=jsDir%>*.js'], dest: '<%=jsDistDir%><%= pkg.name %>.js' }, css: { src: ['<%=cssDir%>*.css'], dest: '<%=cssDistDir%><%= pkg.name %>.css' } }, uglify: { options: { banner: '/*! <%= pkg.name %> <%=grunt.template.today("dd-mm-yyyy") %> */\n' }, dist: { files: { '<%=jsDistDir%><%= pkg.name %>.min.js': ['<%= concat.js.dest %>'] } } }, cssmin: { add_banner: { options: { banner: '/*! <%= pkg.name %> <%=grunt.template.today("dd-mm-yyyy") %> */\n' }, files: { '<%=cssDistDir%><%= pkg.name %>.min.css': ['<%= concat.css.dest %>'] } } }, watch: { files: ['<%=jsDir%>*.js', '<%=cssDir%>*.css'], tasks: ['concat', 'uglify', 'cssmin'] } }); grunt.loadNpmTasks('grunt-contrib-concat'); grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-cssmin'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.registerTask('default', [ 'concat', 'uglify', 'cssmin', 'watch' ]); };
×