Skip to content

fix: 🐛 add is pure detection in export var decl

Codecov / codecov/patch succeeded Sep 10, 2024 in 0s

87.27% of diff hit (target 62.03%)

View this Pull Request on Codecov

87.27% of diff hit (target 62.03%)

Annotations

Check warning on line 92 in crates/mako/src/plugins/tree_shaking/statement_graph/analyze_imports_and_exports.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/mako/src/plugins/tree_shaking/statement_graph/analyze_imports_and_exports.rs#L92

Added line #L92 was not covered by tests

Check warning on line 196 in crates/mako/src/plugins/tree_shaking/statement_graph/analyze_imports_and_exports.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/mako/src/plugins/tree_shaking/statement_graph/analyze_imports_and_exports.rs#L196

Added line #L196 was not covered by tests

Check warning on line 228 in crates/mako/src/plugins/tree_shaking/statement_graph/analyze_imports_and_exports.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/mako/src/plugins/tree_shaking/statement_graph/analyze_imports_and_exports.rs#L228

Added line #L228 was not covered by tests

Check warning on line 274 in crates/mako/src/plugins/tree_shaking/statement_graph/analyze_imports_and_exports.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/mako/src/plugins/tree_shaking/statement_graph/analyze_imports_and_exports.rs#L274

Added line #L274 was not covered by tests

Check warning on line 389 in crates/mako/src/plugins/tree_shaking/statement_graph/analyze_imports_and_exports.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/mako/src/plugins/tree_shaking/statement_graph/analyze_imports_and_exports.rs#L389

Added line #L389 was not covered by tests

Check warning on line 393 in crates/mako/src/plugins/tree_shaking/statement_graph/analyze_imports_and_exports.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/mako/src/plugins/tree_shaking/statement_graph/analyze_imports_and_exports.rs#L393

Added line #L393 was not covered by tests

Check warning on line 420 in crates/mako/src/plugins/tree_shaking/statement_graph/analyze_imports_and_exports.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/mako/src/plugins/tree_shaking/statement_graph/analyze_imports_and_exports.rs#L420

Added line #L420 was not covered by tests