Skip to content

Commit

Permalink
chore: remove debug print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Feb 25, 2025
1 parent aee39f0 commit 1f155ad
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions crates/mako/src/plugins/require_context/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ impl ContextLoadMode {
let mut map_str = String::from(r#"var _map_lazy = {"#);
map.iter().for_each(|(key, value)| match self {
ContextLoadMode::Sync => {
println!(
"... render_module_import1: {} -> {}",
win_path(key),
win_path(value)
);
map_str.push_str(&format!(
r#"
"{}": ()=> require("{}"),"#,
Expand All @@ -39,11 +34,6 @@ impl ContextLoadMode {
}

ContextLoadMode::Lazy => {
println!(
"... render_module_import2: {} -> {}",
win_path(key),
win_path(value)
);
map_str.push_str(&format!(
r#"
"{}": ()=> import("{}"),"#,
Expand Down Expand Up @@ -160,7 +150,6 @@ impl VirtualContextModuleRender {
pub fn module_id_map(&self, map: &BTreeMap<String, String>, context: &Arc<Context>) -> String {
let mut map_str = String::from(r#"var _map = {"#);
for (key, value) in map.iter() {
println!("... replace key: {} -> {}", key, win_path(key));
map_str.push_str(&format!(
r#"
"{}": "{}","#,
Expand Down

0 comments on commit 1f155ad

Please sign in to comment.