Skip to content

Commit

Permalink
Enable parsing static initialization blocks (#7839)
Browse files Browse the repository at this point in the history
  • Loading branch information
mischnic committed Mar 18, 2022
1 parent 3e893b6 commit fe51929
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/transformers/js/core/src/lib.rs
Expand Up @@ -510,6 +510,7 @@ fn parse(
Syntax::Es(EsConfig {
jsx: config.is_jsx,
export_default_from: true,
static_blocks: true,
decorators: config.decorators,
..Default::default()
})
Expand Down

0 comments on commit fe51929

Please sign in to comment.