Skip to content

camelCase() is minified to a function named e()#18

Description

@mikehulbert

Hey @domchristie 馃憢,

I have an intermittent issue that arises from the camelCase helper being minified to the below function.

function e(t){return t.split(/[^\w]/).map(((t,e)=>0===e?t.toLowerCase():i(t))).join("")}

The e function occasionally overrides parameters in my javascript, I use e for javascript events a lot e.g. submit(e) (relatively common parameter name).

I'm importing '@domchristie/turn/dist/turn.js' which resolves the issue although I wanted to highlight it with you.

Mike

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions