Getting Object.hasOwn is not a function on older browsers. Attaching the trace

Shouldn't there be polyfills in place?
No description
5 Replies
peerreynders
peerreynders9mo ago
npm
@vitejs/plugin-legacy
Vite's default browser support baseline is Native ESM, native ESM dynamic import, and import.meta. This plugin. Latest version: 5.3.2, last published: 2 months ago. Start using @vitejs/plugin-legacy in ...
Sudhagar
SudhagarOP9mo ago
Ah got it Thanks
Razboy20
Razboy209mo ago
I’m curious, how are you viewing these stack traces?
Jasmin
Jasmin9mo ago
This is sentry
Razboy20
Razboy209mo ago
Ahh… right I’ve heard of it

Did you find this page helpful?