You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[v4] Sourcemaps not enabled in postcss plugin #13694
Sourcemaps are still a WIP. We don't track them at all at the moment in v4 but we have a PR for it. I think PostCSS source map support is going to be rather complicated because we're not utilizing the PostCSS AST and will require further research.
● Nuxt 4.4.6 (with Nitro 2.13.4, Vite 7.3.3 and Vue 3.5.34)
│
● Nitro preset: node-server
ℹ Building client...
ℹ vite v7.3.3 building client environment for production...
WARN [plugin nuxt:module-preload-polyfill] Sourcemap is likely to be incorrect: a plugin (nuxt:module-preload-polyfill) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
ℹ transforming...
WARN [plugin @tailwindcss/vite:generate:build] Sourcemap is likely to be incorrect: a plugin (@tailwindcss/vite:generate:build) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
(repeated 28 times)
Reacted by Riccardo Bergamaschi, arb85, d3ller, Matej Černý, flo and Thomas McDonald
Activity
wesbos commentedon May 16, 2024
Looks like you need to explicitly pass the sourcemap from lightning CSS to postcss. Here is a good example: https://github.com/onigoetz/postcss-lightningcss/blob/main/src/index.js#L23-L66
thecrypticace commentedon May 17, 2024
Sourcemaps are still a WIP. We don't track them at all at the moment in v4 but we have a PR for it. I think PostCSS source map support is going to be rather complicated because we're not utilizing the PostCSS AST and will require further research.
Add support for source maps (#17775)
thecrypticace commentedon May 8, 2025
The next release will have support for source maps in development!
Mnojavaya commentedon May 22, 2026
Unfortunately, v4.4.6 still produces this warning
● Nuxt 4.4.6 (with Nitro 2.13.4, Vite 7.3.3 and Vue 3.5.34)
│
● Nitro preset: node-server
ℹ Building client...
ℹ vite v7.3.3 building client environment for production...
WARN [plugin nuxt:module-preload-polyfill] Sourcemap is likely to be incorrect: a plugin (nuxt:module-preload-polyfill) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
ℹ transforming...
WARN [plugin @tailwindcss/vite:generate:build] Sourcemap is likely to be incorrect: a plugin (@tailwindcss/vite:generate:build) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
(repeated 28 times)