diff --git a/gulpfile.js b/gulpfile.js
index 812ed1d..09634e2 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -20,8 +20,10 @@ function css() {
}
function js() {
- return gulp.src('./src/script/index.js')
+ return gulp.src('./src/main.js')
+ .pipe(sourcemaps.init())
.pipe(terser({ ecma: 5 }))
+ .pipe(sourcemaps.write('.'))
.pipe(gulp.dest('./dist/'));
}
diff --git a/src/index.html b/src/index.html
index 49bd8d5..3cffec0 100644
--- a/src/index.html
+++ b/src/index.html
@@ -101,6 +101,6 @@
toot on GitHub
-
+