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

[V3] Handle should optimize false correctly #139

Merged
merged 3 commits into from
Oct 21, 2024
Merged

Conversation

mattcompiles
Copy link
Contributor

@mattcompiles mattcompiles commented Oct 21, 2024

Motivation

Prior to this change should_optimize would be set to true when a prod build occurred but --no-optimize was passed.

Checklist

  • Existing or new tests cover this change

crates/atlaspack/src/requests/target_request.rs Outdated Show resolved Hide resolved
@@ -654,6 +654,7 @@ mod tests {
use atlaspack_filesystem::in_memory_file_system::InMemoryFileSystem;

use crate::test_utils::{request_tracker, RequestTrackerTestOptions};
use pretty_assertions::assert_eq;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🆒

@mattcompiles mattcompiles enabled auto-merge (squash) October 21, 2024 21:23
@mattcompiles mattcompiles merged commit a47b7c4 into main Oct 21, 2024
17 checks passed
@mattcompiles mattcompiles deleted the fix-optimize-handling branch October 21, 2024 21:51
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

Successfully merging this pull request may close these issues.

2 participants