diff options
author | Scott González <scott.gonzalez@gmail.com> | 2015-03-04 12:45:29 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2015-03-05 09:11:53 -0500 |
commit | 47a32fb5b3c190123937e0178900ef754c3e220d (patch) | |
tree | e57228a0f51fd3859204cbcc1b1fbb91f1ad3790 | |
parent | 666f051c3a7c0313acacad0255ab8a45697777c3 (diff) | |
download | jquery-ui-47a32fb5b3c190123937e0178900ef754c3e220d.tar.gz jquery-ui-47a32fb5b3c190123937e0178900ef754c3e220d.zip |
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
-rw-r--r-- | Gruntfile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 69517d778..3e66e2e37 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 ) { |