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

add babel-plugin-transform-block-scoping #30807

Merged
merged 3 commits into from
Oct 22, 2020

Commits on Oct 21, 2020

  1. add babel-plugin-transform-block-scoping

    A discussion in evanw/esbuild#478 has shown
    that using let and class in same enclosing level has a signigicant
    performance impact on the Safari browser. To alleviate this problem we
    transform the let and class constructs into var when it is 'easily'
    possible.
    
    Co-authored-by: Justin Ridgewell <jridgewell@google.com>
    Co-authored-by: erwin mombay <erwinm@google.com>
    erwinmombay and jridgewell committed Oct 21, 2020
    Configuration menu
    Copy the full SHA
    c8dc2ab View commit details
    Browse the repository at this point in the history
  2. turn on mangle on terser

    erwinmombay committed Oct 21, 2020
    Configuration menu
    Copy the full SHA
    054492e View commit details
    Browse the repository at this point in the history
  3. Comments and test cases

    jridgewell committed Oct 21, 2020
    Configuration menu
    Copy the full SHA
    5769381 View commit details
    Browse the repository at this point in the history