Skip to content

Commit 47a32fb

Browse files
committed
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
1 parent 666f051 commit 47a32fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ var
7979
component = grunt.option( "component" ) || "**";
8080

8181
function mapMinFile( file ) {
82-
return "dist/" + file.replace( /\.js$/, ".min.js" ).replace( /ui\//, "minified/" );
82+
return "dist/" + file.replace( /ui\//, "minified/" );
8383
}
8484

8585
function expandFiles( files ) {

0 commit comments

Comments
 (0)