diff --git a/dist b/dist
index e2e89e198f47689fe6df908c0ea1cef6d800be0d..5116d70adba8ebafa8a608fea4eb7ba301e345b5 160000
--- a/dist
+++ b/dist
@@ -1 +1 @@
-Subproject commit e2e89e198f47689fe6df908c0ea1cef6d800be0d
+Subproject commit 5116d70adba8ebafa8a608fea4eb7ba301e345b5
diff --git a/gulpfile.js b/gulpfile.js
index ea244435e05b92e358b5f2275069e7cc4a89f6b4..53f356c82a058b8a15b879eeea152a2f9ecb299c 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -103,7 +103,7 @@ gulp.task('deploy:build', function () {
       experimental: true
     }))
     .pipe($.uglify())
-    .pipe($.sourcemaps.write('./dist/'))
+    .pipe($.sourcemaps.write('.'))
     .pipe(gulp.dest('./dist/'))
 })
 
@@ -185,9 +185,12 @@ gulp.task('dev', ['build:test'], function () {
   gulp.start('dev:node')
 })
 
-gulp.task('copy:dist', ['deploy:build'])
+gulp.task('copy:dist', ['deploy:build'], function () {
+  return gulp.src(['./dist/y.js', './dist/y.js.map'])
+    .pipe(gulp.dest('./dist/Examples/bower_components/yjs/'))
+})
 
-gulp.task('dev:Examples', ['copy:dist'], function () {
+gulp.task('dev:examples', ['copy:dist'], function () {
   gulp.watch('src/**/*.js', ['copy:dist'])
   return $.serve('dist/Examples')()
 })
diff --git a/package.json b/package.json
index 904ea969fd928d905304dbde6446141767b73d79..194463e4aa030a7269b86282925708e098b19061 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "yjs",
-  "version": "0.6.25",
+  "version": "0.6.26",
   "description": "A framework for real-time p2p shared editing on arbitrary complex data types",
   "main": "y.js",
   "scripts": {