From d5534ef3f5f23f8570cad1888f1a5b9b752f4516 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Wed, 4 Mar 2015 12:45:29 -0500 Subject: [PATCH] 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 --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 69517d77884..3e66e2e37d3 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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 ) {