Support

Winden: @source inline breaks CDN

Publish date: 06/06/2025 •  Bug • Winden •  Malte

Hello, I wanted to use the new way of safelisting utilities, introduced in 4.1 https://tailwindcss.com/docs/detecting-classes-in-source-files#safelisting-specific-utilities, but then the CDN doesn’t work anymore. Only the cached file works.

Here is the console error from the frontend:

Error: `@source` paths must be quoted.
at v4.js:129:2043
at rt (v4.js:108:3508)
at rt (v4.js:108:3444)
at iv (v4.js:129:833)
at async bc.t_ [as __unstable__loadDesignSystem] (v4.js:133:1429)
at async e (v4.js:1831:1046)
at async compileClasses (tailwind-compiler.js:114:20)
at async MutationObserver.handleMutations (tailwind-compiler.js:35:9)

You can reproduce it by adding this to the style tab, for example:

@source inline(“underline”);

So you don’t need any login to fix it.

Thanks for your help.

Kind regards,
Malte

Leave a Reply