title: Gulp Sourcemaps path
body: <p>I am trying to use gulp-sourcemaps to generate source map.</p>
  
  <p>Example code:</p>
  
  <pre><code>gulp.task('compressjs', function() {
      gulp.src(['public/js/**/*.js','!public/js/**/*.min.js'])
      .pipe(sourcemaps.init())
      .pipe(uglify())
      .pipe(rename({
          extname: '.min.js'
      }))
      .pipe(gulp.dest('public/js'))
      .pipe(sourcemaps.write('/'))
      .pipe(gulp.dest('public/js'));
  });
  </code></pre>
  
  <p>The output of the path is <code>//# sourceMappingURL=/script.min.js.map</code>, which is the wrong path. The correct one should be <code>//# sourceMappingURL=script.min.js.map</code>. How can I remove that extra <code>/</code> in the URL?</p>