Permalink
Browse files

Build: Don't use .min.js extension for individual source files

We don't actually use these files for anything other than size comparisons,
but having the .min.js extension means that AMD is broken.

Note: If you're using AMD with the minified files, just run a build instead.

Fixes #10674
Closes gh-1466
  • Loading branch information...
1 parent 666f051 commit 47a32fb5b3c190123937e0178900ef754c3e220d @scottgonzalez scottgonzalez committed Mar 4, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 Gruntfile.js
View
@@ -79,7 +79,7 @@ var
component = grunt.option( "component" ) || "**";
function mapMinFile( file ) {
- return "dist/" + file.replace( /\.js$/, ".min.js" ).replace( /ui\//, "minified/" );
+ return "dist/" + file.replace( /ui\//, "minified/" );
}
function expandFiles( files ) {

0 comments on commit 47a32fb

Please sign in to comment.