turn
turn copied to clipboard
`camelCase()` is minified to a function named `e()`
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