Closed tugend closed 5 years ago
I personally do avoid configuration of webpack/rollbar/... just too many options and complexity...if there needs something to be changed here a PR would be welcome...hopefully someone out of the community can be of more help...
I think it's because it's wrapped in an export that diverges from the usual, like they do in i18next for example. It works fine if I do this explicitly instead import LanguageDetector from 'i18next-browser-languagedetector/dist/es/index.js';
Sorry I somehow missed to see your reply...looks like i18next and some other plugins where updated to newer configuration, this one lacks behind...will see what I can do the next days or merge a PR if you like to provide the update.
tried to update to be in line with other plugins like the xhr backend...
can you please retry with i18next-browser-languagedetector@4.0.0
Works. Thanks. ^_^
Nice work.
Thanks for reporting back...👍
If you like this module don’t forget to star this repo. Make a tweet, share the word or have a look at our https://locize.com to support the devs of this project -> there are many ways to help this project :pray:
All other packages I currently use, works fine. But for i18next-browser-languageDetector I get this error. Any ideas for solving it would be very welcome. ^_^
by node_modules\i18next-browser-languagedetector\index.js
My setup is rollup with babel and looks like this.
and my .babelrc looks like this.