Skip to content

Commit c8952e3

Browse files
Update packages/tailwindcss/src/ast.ts
Co-authored-by: Jordan Pittman <jordan@cryptica.me>
1 parent fe51b4a commit c8952e3

File tree

1 file changed

+2
-1
lines changed
  • packages/tailwindcss/src

1 file changed

+2
-1
lines changed

packages/tailwindcss/src/ast.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,8 @@ export function optimizeAst(ast: AstNode[]) {
305305
copy.nodes.length > 0 ||
306306
copy.name === '@layer' ||
307307
copy.name === '@charset' ||
308-
copy.name === '@custom-media'
308+
copy.name === '@custom-media' ||
309+
copy.name === '@namespace'
309310
) {
310311
parent.push(copy)
311312
}

0 commit comments

Comments
 (0)