title: grunt-sass dynamic file array configuration compiles to incomplete css files when multiple dots are in the filename
body: <p>Related to: <a href="https://stackoverflow.com/a/15371443/510045">https://stackoverflow.com/a/15371443/510045</a></p>
  
  <p>I am trying to configure grunt to dynamically compile my .scss files using grunt-sass. I'd like to compile only non-partial files but am running into an issue where if the filename has more than one dot in it, the compiled css filename is incomplete. Here is my configuration:</p>
  
  <pre><code>sass: {
      dist: {
          files: [{
              expand: true, // Enable dynamic expansion.
              cwd: 'sass/', // Src matches are relative to this path.
              src: ['**/*.scss', '!**/_*.scss'], // Actual pattern(s) to match. Compile all .scss files except partials
              dest: 'css', // Destination path prefix.
              ext: '.css', // Dest filepaths will have this extension.
          }]
      }
  }
  </code></pre>
  
  <p>This works as expected except for those aforementioned multiple dot filenames. For example, a file named <code>some.jquery.plugin.scss</code> will get compiled to a file named <code>some.css</code> instead of <code>some.jquery.plugin.css</code>.</p>
  
  <p>I've been digging around the <a href="http://gruntjs.com/configuring-tasks#files-array-format" rel="nofollow noreferrer">grunt documentation on files format</a> but am not having any luck. Thanks in advance!</p>