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

Explain what has become of separate-front-target-dir #251

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ lib-profile-dev = "my-debug-profile"

# Fixes cargo bug that prevents incremental compilation (see #203)
#
# Optional. Defaults to false
# Optional. Defaults to false prior to 0.2.3, unconditionally enabled (with the setting becoming deprecated) since 0.2.3 and #216
separate-front-target-dir = true

# Pass additional parameters to the cargo process compiling to WASM
Expand Down
6 changes: 3 additions & 3 deletions src/config/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ pub struct ProjectConfig {
pub tmp_dir: Utf8PathBuf,

/// Deprecated. Keeping this here to warn users to remove it in case they have it in their config.
#[deprecated = "This option is deprecated. Please remove it from your config."]
#[deprecated = "This option is deprecated since cargo-leptos 0.2.3 (when it became unconditionally enabled). You may remove it from your config."]
pub separate_front_target_dir: Option<bool>,

// Profiles
Expand Down Expand Up @@ -259,8 +259,8 @@ impl ProjectConfig {

#[allow(deprecated)]
if conf.separate_front_target_dir.is_some() {
log::warn!("Depreciated the `separate-front-target-dir` option is deprecated");
log::warn!("Depreciated please remove it from your config in your Cargo.toml")
log::warn!("Deprecated: the `separate-front-target-dir` option is deprecated since cargo-leptos 0.2.3");
log::warn!("It is now unconditionally enabled; you can remove it from your Cargo.toml")
}

Ok(conf)
Expand Down
Loading