Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nested json parsing errors #40

Merged
merged 1 commit into from
Oct 4, 2024
Merged

Conversation

dengelke
Copy link
Contributor

@dengelke dengelke commented Oct 4, 2024

Had some errors from nested json objects

@ai
Copy link
Member

ai commented Oct 4, 2024

Why don't you use postcss-js parser for JSON?

This parser is only for CSS files (possibly broken).

@dengelke
Copy link
Contributor Author

dengelke commented Oct 4, 2024

Mostly because it needs to handle json in css as well as any broken css

@ai
Copy link
Member

ai commented Oct 4, 2024

Got it, you want to use JSON inside CSS

@ai ai merged commit 721c42d into postcss:main Oct 4, 2024
0 of 2 checks passed
@ai
Copy link
Member

ai commented Oct 4, 2024

Thanks. Released in 7.0.1.

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.

2 participants