aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/tasks/dist.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/build/tasks/dist.js b/build/tasks/dist.js
index 97d882e70..13e56336a 100644
--- a/build/tasks/dist.js
+++ b/build/tasks/dist.js
@@ -52,13 +52,6 @@ module.exports = function( grunt ) {
nonascii = true;
}
- // Modify map/min so that it points to files in the same folder;
- // see https://github.com/mishoo/UglifyJS2/issues/47
- if ( /\.map$/.test( filename ) ) {
- text = text.replace( /"dist\//g, "\"" );
- fs.writeFileSync( filename, text, "utf-8" );
- }
-
// Optionally copy dist files to other locations
paths.forEach(function( path ) {
var created;