Polyfilling ecmascript features

Hey! Not experienced with polyfills, but now I'm trying to wrap my app into android webview and I want to support e.g. chrome 80+. And there are some things that not supported, Object.hasOwn What's the recommended way to add polyfills with default stack (Vite + solid.js)? I tried adding core-js with babel preset to solid otpions, but seems like Vite doesn't handle it right in dev-mode, as core-js is written with require.
0 Replies
No replies yetBe the first to reply to this messageJoin