Skip to content

Fix build warnings: CSS comment syntax and inline JSON script#440

Merged
vvlladd28 merged 1 commit into
mainfrom
fix/css-build-warnings
May 29, 2026
Merged

Fix build warnings: CSS comment syntax and inline JSON script#440
vvlladd28 merged 1 commit into
mainfrom
fix/css-build-warnings

Conversation

@vvlladd28
Copy link
Copy Markdown
Member

Summary

Resolves two build-time warnings:

  • esbuild js-comment-in-csssrc/components/Pricing/PricingBackground.astro used // line comments inside a plain <style> block (untagged Astro <style> is CSS, not SCSS). Converted to a /* */ block comment and shortened it.
  • astro(4000) — the JSON data island in src/pages/partners/distributors.astro was implicitly treated as is:inline. Made the directive explicit, which is correct for a non-executable JSON <script> and silences the hint.

- Convert // line comments to /* */ block comment in PricingBackground
  <style> block (plain CSS, not SCSS) to resolve esbuild js-comment-in-css warning
- Add explicit is:inline to the JSON data island in distributors.astro
  to silence astro(4000) hint
@vvlladd28 vvlladd28 merged commit 2d55ef1 into main May 29, 2026
4 of 5 checks passed
@vvlladd28 vvlladd28 deleted the fix/css-build-warnings branch May 29, 2026 12:45
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.

1 participant