diff --git a/Gruntfile.js b/Gruntfile.js
index 5ba8abbfb95f690c407e3d2828493ac979b0bfab..ab4b56cd26548294266e0fa7cc6f6bbeaedadbe2 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -113,12 +113,27 @@ module.exports = function (grunt) {
     },
 
     less: {
-      compile: {
+      compileCore: {
         options: {
-          strictMath: true
+          strictMath: true,
+          sourceMap: true,
+          outputSourceFiles: true,
+          sourceMapURL: '<%= pkg.name %>.css.map',
+          sourceMapFilename: 'dist/css/<%= pkg.name %>.css.map'
+        },
+        files: {
+          'dist/css/<%= pkg.name %>.css': 'less/bootstrap.less'
+        }
+      },
+      compileTheme: {
+        options: {
+          strictMath: true,
+          sourceMap: true,
+          outputSourceFiles: true,
+          sourceMapURL: '<%= pkg.name %>-theme.css.map',
+          sourceMapFilename: 'dist/css/<%= pkg.name %>-theme.css.map'
         },
         files: {
-          'dist/css/<%= pkg.name %>.css': 'less/bootstrap.less',
           'dist/css/<%= pkg.name %>-theme.css': 'less/theme.less'
         }
       },
diff --git a/dist/css/bootstrap-theme.css b/dist/css/bootstrap-theme.css
index c69e377009beb31e7844048ddc6eeb771f425c2e..d8293887c80cd11be59f3980dbeec015ecb39207 100644
--- a/dist/css/bootstrap-theme.css
+++ b/dist/css/bootstrap-theme.css
@@ -345,3 +345,4 @@
   -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
           box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
 }
+/*# sourceMappingURL=bootstrap-theme.css.map */
diff --git a/dist/css/bootstrap-theme.css.map b/dist/css/bootstrap-theme.css.map
new file mode 100644
index 0000000000000000000000000000000000000000..b5668d44d9caab40d12dc835c93570584f56cfa0
Binary files /dev/null and b/dist/css/bootstrap-theme.css.map differ
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css
index b9a30815f7a9c91da11865b2f6144e76ba4f697c..87cb9a73053ccfd5c5036656a97a2b112530e6e2 100644
--- a/dist/css/bootstrap.css
+++ b/dist/css/bootstrap.css
@@ -5741,3 +5741,4 @@ td.visible-print {
     display: none !important;
   }
 }
+/*# sourceMappingURL=bootstrap.css.map */
diff --git a/dist/css/bootstrap.css.map b/dist/css/bootstrap.css.map
new file mode 100644
index 0000000000000000000000000000000000000000..a35ce8cfb2589ca3b8d8a69f114eb5f30863104c
Binary files /dev/null and b/dist/css/bootstrap.css.map differ