validator.js icon indicating copy to clipboard operation
validator.js copied to clipboard

`"length" is read-only` error when imported

Open dallonf opened this issue 4 years ago • 0 comments

I see this happening in Vite and CodeSandbox, which I believe is based on Parcel. It seems to be OK in Webpack, though. I suspect the difference is whether the package is imported with ES Modules or in Strict Mode (which the former implies).

dallonf avatar May 05 '21 16:05 dallonf