Skip to content

Commit 4fb66b5

Browse files
authored
Convert SourceMapGenerator to string in build script (jdan#74)
Co-authored-by: Vl <Vl>
1 parent bfd5340 commit 4fb66b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function buildCSS() {
2828
.then((result) => {
2929
mkdirp.sync("dist");
3030
fs.writeFileSync("dist/98.css", result.css);
31-
fs.writeFileSync("dist/98.css.map", result.map);
31+
fs.writeFileSync("dist/98.css.map", result.map.toString());
3232
});
3333
}
3434

0 commit comments

Comments
 (0)