diff --git a/site/kotlin-example-loader.js b/site/kotlin-example-loader.js
index <HASH>..<HASH> 100644
--- a/site/kotlin-example-loader.js
+++ b/site/kotlin-example-loader.js
@@ -41,9 +41,9 @@ module.exports = function kotlinExampleLoader(source) {
       then(() => {
         fs.readFile(TMP_FILE_NAME, (e, buffer) => {
           handleError(e);
-          fs.readFile(TMP_SOURCE_MAP_FILE_NAME, (e, sourceMapBuffer) => {
+          fs.readFile(TMP_SOURCE_MAP_FILE_NAME, 'utf8', (e, sourceMap) => {
             handleError(e);
-            callback(null, buffer, sourceMapBuffer);
+            callback(null, buffer, sourceMap);
             cleanup();
           });
         });
RING-UI-CR-<I> decode sourcemap to string before passing it to webpack


Former-commit-id: <I>edfadac1b<I>a7dd1c9a<I>d<I>f<I>c<I>