Skip to content

Conversation

@DogeDark
Copy link
Contributor

@DogeDark DogeDark commented Feb 26, 2025

Removes unused configuration options from the default Dioxus.toml (application.name, application.default_platform, application.hot_reload). Theses fields don't exist and aren't being collected in the CLI config deserialization.

We might want to re-add application.name for stuff such as bundling.

Also removes an unused icon.

Breaking
It is worth noting that this PR removes the --platform flag for the dx config init command and could break automated tooling.

@DogeDark DogeDark added breaking This is a breaking change cli Related to the dioxus-cli program labels Feb 26, 2025
@DogeDark DogeDark requested a review from a team as a code owner February 26, 2025 04:09
@jkelleyrtp jkelleyrtp merged commit 7c2cea9 into DioxusLabs:main Mar 4, 2025
17 checks passed
@DogeDark DogeDark deleted the cleanup-config branch March 5, 2025 02:16
AnteDeliria pushed a commit to AnteDeliria/dioxus that referenced this pull request Jun 2, 2025
* revision: remove unused config options

* remove: unsused icon
AnteDeliria pushed a commit to AnteDeliria/dioxus that referenced this pull request Jul 23, 2025
* revision: remove unused config options

* remove: unsused icon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking This is a breaking change cli Related to the dioxus-cli program

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants