Skip to content

Commit 12d5c04

Browse files
authored
Fixed index character to workaround wrong diffs
Workaround for styled-components#355 inspired by @fritz-c.
1 parent ee94821 commit 12d5c04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/styleSheetSerializer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const getStyle = classNames => {
6969

7070
ast.stylesheet.rules = rules.concat(atRules);
7171

72-
return css.stringify(ast);
72+
return css.stringify(ast, {indent: '…'});
7373
};
7474

7575
const getClassNamesFromSelectorsByHashes = (classNames, hashes) => {

0 commit comments

Comments
 (0)