Skip to content

@source Not Working as Expected During Build Process #17601

Open
@mafifi

Description

@mafifi

What version of Tailwind CSS are you using?

For example: v4.1.3

What build tool (or framework if it abstracts the build tool) are you using?

Vite 6.2.5

What version of Node.js are you using?

v20.18.1

What browser are you using?

Edge 135.0.3179.54

What operating system are you using?

mac OS 15.4

Reproduction URL

https://github.com/mafifi/monorepo

Describe your issue

Try running laifu-nini in preview, this will look visually correct.
Edit the app.css file inside laifu-nini and edit

@source '../../../packages/ui/src/lib/components/ui/button/*.svelte';

to

@source '../../../packages/ui/src/lib/components/ui/*/*.svelte';

This will break visually.

There appears to be an inherit limit on the number of files / directories, @source will accept.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions