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

Release folder for web with 0.6 #3167

Closed
RustGrow opened this issue Nov 3, 2024 · 1 comment
Closed

Release folder for web with 0.6 #3167

RustGrow opened this issue Nov 3, 2024 · 1 comment

Comments

@RustGrow
Copy link

RustGrow commented Nov 3, 2024

Feature Request

No automatic release or copying of the release to the root directory. When deploying a web application, the release is usually specified in the root folder. Now the release is created in the target folder, which you usually include in .gitignore
It is clear that you can copy it manually, but in the past it was convenient to specify the folder in the Dioxus.toml file

# `build` & `serve` dist path
out_dir = “dist”

You can customize ci/cd in the service, but for speed it's easier to directly create the release and commit to see the result in a few seconds.

Alternatively, you can configure pre-commit hooks

Screenshot (264)

@RustGrow RustGrow changed the title Release for web with 0.6 Release folder for web with 0.6 Nov 3, 2024
@jkelleyrtp
Copy link
Member

Hi! We changed the format for the dioxus build dir and won't support out_dir for dx build.

However, dx bundle - which runs dx build does respect out_dir in 0.6.2 thanks to #3572.

This should be releasing shortly.

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

2 participants