Skip to content
Permalink
Browse files

fix(sourcemaps): strip path from bundle sourcemap

  • Loading branch information...
Alexander-Taran committed Feb 25, 2019
1 parent aa816d3 commit 860162255d99e5264f99420a367677996bcc1f7a
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/build/bundle.js
@@ -404,7 +404,7 @@ exports.Bundle = class {
.setProperty('sourceRoot', mapSourceRoot)
.toJSON();

contents += os.EOL + '//# sourceMappingURL=' + mapFileName;
contents += os.EOL + '//# sourceMappingURL=' + path.basename(mapFileName);
}

return fs.writeFile(path.posix.join(platform.output, bundleFileName), contents).then(() => {

0 comments on commit 8601622

Please sign in to comment.
You can’t perform that action at this time.