Commit 2e4d18b1 by sanjay-patel-1991 Committed by Vishal Kadam

Updated for app.min.js

parent b1363ee2
...@@ -68,7 +68,7 @@ module.exports = function(grunt) { ...@@ -68,7 +68,7 @@ module.exports = function(grunt) {
} }
} }
}, },
dist: 'public/dist/app.min.js', dist: 'public/js/app.min.js',
modules: grunt.file.expand( modules: grunt.file.expand(
'public/js/app.js', 'public/js/app.js',
'public/js/routes.js', 'public/js/routes.js',
...@@ -118,8 +118,8 @@ module.exports = function(grunt) { ...@@ -118,8 +118,8 @@ module.exports = function(grunt) {
mainjs:{ mainjs:{
expand: true, expand: true,
cwd: 'public/', cwd: 'public/',
src: 'dist/*.js', src: 'js/*.js',
dest: 'dist/dist/', dest: 'dist/js/',
flatten: true, flatten: true,
filter: 'isFile' filter: 'isFile'
} }
...@@ -146,7 +146,7 @@ module.exports = function(grunt) { ...@@ -146,7 +146,7 @@ module.exports = function(grunt) {
require('load-grunt-tasks')(grunt); require('load-grunt-tasks')(grunt);
grunt.registerTask('default', ['devUpdate', 'bower', 'jshint', 'jsbeautifier:default']); grunt.registerTask('default', ['devUpdate', 'bower', 'jshint', 'jsbeautifier:default']);
grunt.registerTask('server', ['jshint','build','bower','minify','concurrent']); grunt.registerTask('server', ['jshint','build','bower','minify','copy:mainjs','concurrent']);
grunt.registerTask('minify', 'Minify the all js', function() { grunt.registerTask('minify', 'Minify the all js', function() {
var done = this.async(); var done = this.async();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment