Browse Source

Fix "sources" relative location in sourcemap file

Signed-off-by: Marlos Dantas <dantas_marlos@apple.com>
codeClimate
Marlos Dantas 9 years ago
parent
commit
c32a986af6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      gulpfile.js

+ 1
- 1
gulpfile.js View File

@ -148,7 +148,7 @@ gulp.task('minify', ['bundle-js'], function (cb) {
// any issues when concatenating the file downstream (the file ends // any issues when concatenating the file downstream (the file ends
// with a comment). // with a comment).
fs.writeFileSync(DIST + '/' + VIS_MIN_JS, result.code + '\n'); fs.writeFileSync(DIST + '/' + VIS_MIN_JS, result.code + '\n');
fs.writeFileSync(DIST + '/' + VIS_MAP, result.map);
fs.writeFileSync(DIST + '/' + VIS_MAP, result.map.replace(/"\.\/dist\//g, '"'));
cb(); cb();
}); });

Loading…
Cancel
Save