Skip to content

Cannot process directories having names with dots #586

@SimoneMSR

Description

@SimoneMSR

When trying to minify files within a directory whose name has dots, the error EISDIR occurs.

GruntFile I used is

module.exports = function(grunt) {
//configuration
grunt.initConfig({
      uglify: {
          all: {
            files: [{
                expand: true,
                src: ['**/*.js',"!build/**/*"],
                dest: 'build/',
                cwd: './',
            }]
           }
         }
})
    grunt.loadNpmTasks('grunt-contrib-uglify');
   //Register Tasks
   grunt.registerTask('default', ['uglify']);
}

Version used: 5.2.2
Grunt version: 1.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions