diff --git a/config.js b/config.js
index <HASH>..<HASH> 100644
--- a/config.js
+++ b/config.js
@@ -160,6 +160,7 @@ module.exports = {
 				comments: /^!|@preserve|@license|@cc_on/i
 			}
 		},
+		sourcemaps: true,
 		folders: ['js', 'ts'],
 		ignoreList: []
 	},
diff --git a/pumps/uglify.js b/pumps/uglify.js
index <HASH>..<HASH> 100644
--- a/pumps/uglify.js
+++ b/pumps/uglify.js
@@ -7,7 +7,7 @@ module.exports = {
         return [
             config.uglify.sourcemaps ? sourcemaps.init() : noop(),
             uglify(config.uglify.options),
-            config.uglify.sourcemaps ? sourcemaps.write() : noop()
+            config.uglify.sourcemaps ? sourcemaps.write('./') : noop()
         ];
     }
 };
\ No newline at end of file
write js maps to js build directory by default