Skip to content

@tailwindcss/vite still emits SOURCEMAP_BROKEN warnings in Nuxt/Vite builds #19930

Description

@murillodutt

Summary

Using @tailwindcss/vite@4.2.2 with Nuxt 4.4.2 / Vite 7.3.2 still emits sourcemap warnings during build:

[plugin @tailwindcss/vite:generate:build] Sourcemap is likely to be incorrect ...

I know there is prior context in discussions/issues, but this remains reproducible in current versions.

Environment

  • tailwindcss: 4.2.2
  • @tailwindcss/vite: 4.2.2
  • Nuxt: 4.4.2
  • Vite: 7.3.2
  • Node: 22
  • pnpm: 10.12.4

Reproduction

  1. Create fresh Nuxt 4 app with @nuxt/ui
  2. Run pnpm run build
  3. Observe repeated sourcemap warnings from @tailwindcss/vite:generate:build

Expected

Either:

  • no warning, with proper sourcemaps generated, or
  • documented non-warning path when sourcemap generation is intentionally partial.

Impact

  • noisy CI/build logs
  • strict warning policies treat this as release-blocking

If needed, I can provide a public minimal reproduction repository.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions