Skip to content

Commit 594e28b

Browse files
Merge pull request #455 from MicahZoltu/patch-1
2 parents ac1d423 + aaad539 commit 594e28b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/build-plugins/esbuild-plugins.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export function cssModules() {
232232

233233
// Fix CSS grid areas treated as local
234234
css = css
235-
.replaceAll(/grid-area:\s+[^_]+_(.*?);$/gm, (m, g) => {
235+
.replaceAll(/grid-area:\s+_?[^_]+_(.*?);$/gm, (m, g) => {
236236
return `grid-area: ${g};`;
237237
})
238238
.replaceAll(/\s["][^"']+_([^"']+)["]/g, (m, g) => {

0 commit comments

Comments
 (0)