Skip to content
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

out_dir ignored when building for web #3328

Open
richard-viney opened this issue Dec 10, 2024 · 0 comments
Open

out_dir ignored when building for web #3328

richard-viney opened this issue Dec 10, 2024 · 0 comments

Comments

@richard-viney
Copy link

Problem

The out_dir in Dioxus.toml seems to be ignored when building a web app. The build is always output at target/dx/PROJECT_NAME/release/web/public.

I believe this is a regression in 0.6.0 since alpha-4.

Steps To Reproduce

Steps to reproduce the behavior:

  • dx new dxtest
  • Add out_dir = "dist" to Dioxus.toml under [application]
  • dx build --release

Gives:

1.466s INFO Build completed successfully! 🚀 path=".../target/dx/dxtest/release/web/public"

Expected behavior

The release build is copied to out_dir.

Environment:

  • Dioxus version: 0.6.0
  • Rust version: 1.83.0
  • OS info: macOS
  • App platform: web
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant