Skip to content

fix(export): remove extra trailing newline in css-tailwind output#151

Open
sudarshandev-llm wants to merge 1 commit into
google-labs-code:mainfrom
sudarshandev-llm:fix-extra-trailing-newline
Open

fix(export): remove extra trailing newline in css-tailwind output#151
sudarshandev-llm wants to merge 1 commit into
google-labs-code:mainfrom
sudarshandev-llm:fix-extra-trailing-newline

Conversation

@sudarshandev-llm

Copy link
Copy Markdown

serializeTailwindV4() already appends a trailing newline to the @theme block. Using console.log() adds a second trailing newline, making checked-in generated CSS fail strict whitespace gates like git diff --check.

Fixes #139

Change-Id: I3a0150b2c0f8e6a7b9d4c3e2f1a0b9c8d7e6f5a4

serializeTailwindV4() already appends a trailing newline to the
@theme block. Using console.log() adds a second trailing newline,
making checked-in generated CSS fail strict whitespace gates like
git diff --check.

Fixes google-labs-code#139

Change-Id: I3a0150b2c0f8e6a7b9d4c3e2f1a0b9c8d7e6f5a4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

css-tailwind export emits an extra trailing newline

1 participant