Grunt multi-tasks throwing EISDIR error when building
问题 I am trying to set up grunt to minify a number of js files in a src directory and copy them to a build directory. Following the grunt task documentation, I believe the below configuration should work. uglify: { dist: { files: [ { expand: true, // Enable dynamic expansion. cwd: 'src/js/', // Src matches are relative to this path. src: ['**/?.js'], // Actual pattern(s) to match. dest: 'build/minified/', // Destination path prefix. ext: '.min.js' // Dest filepaths will have this extension. } ] }