Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create directory. #74

Closed
ghost opened this issue Jul 26, 2013 · 2 comments
Closed

Unable to create directory. #74

ghost opened this issue Jul 26, 2013 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 26, 2013

uglify: {
            options: {
                mangle: false
            },
            my_target: {
                files: {
                    'publish/js/**/*.js': ['src/js/**/*.js']
                }
            }
        },

Throws me following errors:

Warning: Unable to create directory "c:\project\publish\js**" (Error code: ENOENT). Use --force to continue.

@jsoverson
Copy link
Member

The destination doesn't work like that so you're getting an error because asterisk is not a valid character for files on windows.

If you are looking to uglify numerous files individually, you can look into building your files object dynamically, otherwise the destination should be a single file.

@ghost
Copy link
Author

ghost commented Aug 1, 2013

Got that. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant