Skip to content

Commit

Permalink
Apply Change from parcel-bundler#2867
Browse files Browse the repository at this point in the history
  • Loading branch information
powerc9000 committed Dec 23, 2019
1 parent 49b4f40 commit 0e9bb13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/parcel-bundler/src/packagers/CSSPackager.js
Expand Up @@ -62,7 +62,7 @@ class CSSPackager extends Packager {
if (mapBundle) {
let mapUrl = urlJoin(
this.options.publicURL,
path.basename(mapBundle.name),
path.relative(this.options.outDir, mapBundle.name),
);
await this.write(`\n/*# sourceMappingURL=${mapUrl} */`);
}
Expand Down

0 comments on commit 0e9bb13

Please sign in to comment.