Skip to content

Commit 811cb87

Browse files
committed
prettier
1 parent b5458e6 commit 811cb87

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/build.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,7 @@ function buildFile(file, silent) {
119119

120120
// Normalize/override key fields for consistency
121121
map.file = outFile;
122-
map.sources = [
123-
path.relative(outDir, file).replace(/\\/g, '/'),
124-
];
122+
map.sources = [path.relative(outDir, file).replace(/\\/g, '/')];
125123

126124
code = `${code}\n\n//# sourceMappingURL=${mapFileName}`;
127125
fs.writeFileSync(mapPath, JSON.stringify(map));

0 commit comments

Comments
 (0)