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 example in README for mangling private class fields #1012

Closed
wants to merge 2 commits into from

Commits on Jun 18, 2021

  1. Add example in README for mangling private class fields

    I was looking into mangling private class fields with Terser.
    Even though I think it would be generally safe for Terser
    to do this by default, it is currently already possible
    by using a regex as `--mangle-props`.
    
    Therefore, let's add an explicit example in the README
    for anybody else who is looking to mangling private
    class fields.
    TimvdLippe committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    f14b69f View commit details
    Browse the repository at this point in the history
  2. Add field usage to example

    TimvdLippe committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    87ef641 View commit details
    Browse the repository at this point in the history