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

File extensions with multiple dots are not preserved when using minimatch #87

Closed
CaryLandholt opened this issue Jul 8, 2013 · 1 comment

Comments

@CaryLandholt
Copy link

Take the following file foo.bar.coffee.

The file is compiled to JavaScript successfully; however, the compiled file is named foo.js instead of foo.bar.js.

coffee: {
  scripts: {
    cwd: './src/',
    src: '**/*.coffee',
    dest: './dest/',
    expand: true,
    ext: '.js'
  }
}
@shama
Copy link
Member

shama commented Jul 8, 2013

Please see this issue: gruntjs/grunt#750 and this SO: http://stackoverflow.com/questions/16697344/configure-grunt-file-name-matching-for-files-with-multiple-dots

Currently you need to use the rename option.

@shama shama closed this as completed Jul 8, 2013
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

2 participants