Thanks Chris! This was just what I needed to finally get around to making use of Grunt.
One thing I’ve since found is that there’s no need to use concat if you’re using uglify as uglify will concatenate files too, equally uglify has the option to generate a sourcemap so that Chrome Dev tools (any others) will still map console messages to the correct files – worth keeping it slimmer where we can plus sourcemapping is a huge help when splitting javascript over multiple files.
Thanks Chris! This was just what I needed to finally get around to making use of Grunt.
One thing I’ve since found is that there’s no need to use concat if you’re using uglify as uglify will concatenate files too, equally uglify has the option to generate a sourcemap so that Chrome Dev tools (any others) will still map console messages to the correct files – worth keeping it slimmer where we can plus sourcemapping is a huge help when splitting javascript over multiple files.