Skip to content

Building a dev/prod bundle with Tailwind enabled results in warning being logged #22723

@sissbruecker

Description

@sissbruecker

Description of the bug

After enabling the Tailwind feature flag, building a dev or prod bundle results in the following log message:

2025-11-13T08:19:08.397+01:00  INFO 69866 --- [in-dev-server-1] c.v.f.server.frontend.TaskUpdateImports  : 

  Failed to find the following css files in the `node_modules` or `/Users/sascha/Downloads/app 8/src/main/frontend` directory tree:
      - ./tailwind.css
  Check that they exist or are installed. If you use a custom directory for your resource files instead of the default `frontend` folder then make sure it's correctly configured (e.g. set 'vaadin.frontend.folder' property)

Expected behavior

No message should be logged when enabling Tailwind.

Minimal reproducible example

  • Download a starter with v25
  • Enable Tailwind feature flag
  • Run mvn install

Versions

  • Vaadin / Flow version: 25

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🆕 Needs triage

    Status

    🪵Product backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions