Getting Object.hasOwn is not a function on older browsers. Attaching the trace
Shouldn't there be polyfills in place?
5 Replies
Polyfill's are opt-in with vite
https://www.npmjs.com/package/@vitejs/plugin-legacy
See also
https://discord.com/channels/722131463138705510/1227300106739646575
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 ...Ah got it
Thanks
I’m curious, how are you viewing these stack traces?
This is sentry
Ahh… right I’ve heard of it