Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add option_asset! to match asset! #4791

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tekacs wants to merge 1 commit into DioxusLabs:main
base: main
Choose a base branch
Loading
from tekacs:option-asset

Conversation

Copy link
Contributor

@tekacs tekacs commented Oct 15, 2025

As a user of the jujutsu VCS, manganis's asset! plays a little awkwardly with /assets/tailwind.css.

Since tailwind.css is generated and shouldn't really be checked in, it needs to be ignored from our Git repo. That said... the asset! macro statically fails to compile if the file is missing, so cargo check in a monorepo with a Dioxus workspace fails on a fresh checkout, until dx has been used to build that repo at least once.

With Git, an option is to put an empty tailwind.css there and use --assume-unchanged (although that's ultimately local), but... jujutsu doesn't have this, and it'd be preferable if manganis could instead be encouraged to not fail hard when the file is missing.

@tekacs tekacs requested a review from a team as a code owner October 15, 2025 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /