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

Fix babel warning about private-methods #3016

Merged
merged 1 commit into from Jun 16, 2021

Commits on May 19, 2021

  1. Fix babel warning about private-methods

    The "loose" option must be the same for:
    
    - @babel/plugin-proposal-class-properties,
    - @babel/plugin-proposal-private-methods
    - @babel/plugin-proposal-private-property-in-object
    
    class-properties and private-methods are dependencies of
    @babel/preset-env, which is required by webpacker.
    
    This commit sets the same loose value for both class-properties and
    private-methods to silence the warning 
    
    Fix rails#3008
    tagliala committed May 19, 2021
    Copy the full SHA
    5fc3a85 View commit details
    Browse the repository at this point in the history