We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 766a5d5 commit eaa76f1Copy full SHA for eaa76f1
packages/tailwindcss-language-service/src/util/jit.ts
@@ -47,7 +47,7 @@ export async function stringifyRoot(state: State, root: Root, uri?: string): Pro
47
48
return clone
49
.toString()
50
- .replace(/([^;{}\s])\n}/g, '$1;\n}')
+ .replace(/([^;{}\s])(\n\s*})/g, (_match, before, after) => `${before};${after}`)
51
.replace(/^(?: )+/gm, (indent: string) => ' '.repeat((indent.length / 4) * tabSize))
52
}
53
0 commit comments