Open wogaozhixu opened 2 months ago
sorry, but the bug description is completely unclear to me
v8.0.0 is only compatible with newer browsers see changelog: https://github.com/i18next/i18next-browser-languageDetector/pull/286
if you need to support older browsers without transpilation, use v7
//cc @VIKTORVAV99
I'm really interested in how this is used as I would assume most people are using a build system to handle transpilation.
Could you share some insights into how you bundling your website?
🐛 Bug Report
A clear and concise description of what the bug is.
name: "querystring", lookup(e) { let t, {lookupQuerystring: r} = e; if ("undefined" !== typeof window) { let {search: e} = window.location; !window.location.search && window.location.hash?.indexOf("?") > -1 && (e = window.location.hash.substring(window.location.hash.indexOf("?"))); const n = e.substring(1).split("&"); for (let o = 0; o < n.length; o++) { const e = n[o].indexOf("="); e > 0 && n[o].substring(0, e) === r && (t = n[o].substring(e + 1)) } } return t }
To Reproduce
A minimal reproducible example. A codesandbox example or similar or at least steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Your Environment