Skip to content

Commit

Permalink
chore: ✏️ typo
Browse files Browse the repository at this point in the history
  • Loading branch information
stormslowly committed Dec 29, 2023
1 parent 366389c commit 2d0be74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/mako/src/transform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ fn transform_js(
context,
)?;

// TODO: polyfill
let preset_env = swc_preset_env::preset_env(
unresolved_mark,
Some(NoopComments),
Expand All @@ -159,7 +160,7 @@ fn transform_js(
}),
// simplify, but keep top level dead code
// e.g. import x from 'foo'; but x is not used
// this must be keeped for tree shaking to work
// this must be kept for tree shaking to work
simplifier(
unresolved_mark,
SimpilifyConfig {
Expand Down

0 comments on commit 2d0be74

Please sign in to comment.