diff --git a/package.json b/package.json index d4bcc90..1c6a0e3 100644 --- a/package.json +++ b/package.json @@ -84,5 +84,6 @@ "semi": true, "singleQuote": false, "endOfLine": "lf" - } + }, + "packageManager": "pnpm@9.1.4" } diff --git a/vite.config.ts b/vite.config.ts index 4c47fa8..ae8e657 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -16,6 +16,7 @@ export default defineConfig({ modernPolyfills: true, polyfills: ["web.structured-clone"], additionalModernPolyfills: [ + "core-js/modules/es.object.has-own.js", path.resolve("./src/polyfills/matchMedia.js"), path.resolve("./src/polyfills/WeakRef.js"), path.resolve("./src/polyfills/RegExp.js"),