Browse Source

Merge pull request #1508 from marlosin/develop

Fix "sources" relative location in sourcemap file
codeClimate
Jos de Jong 9 years ago
parent
commit
01af5604d6
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
// with a comment).
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();
});

Loading…
Cancel
Save