I making a Rails app v7 and i try to use i18n-js v4 with the help of the migration doc https://github.com/fnando/i18n-js/tree/main/MIGRATING_FROM_V3_TO_V4.md.
I have set up all according to the doc but somehow when import the 'import { i18n } from "./config/i18n";' in the application.js or any application just import the "i18n-js" module will not work on the web , even in the code editor it detect the library
Description
I making a Rails app v7 and i try to use i18n-js v4 with the help of the migration doc https://github.com/fnando/i18n-js/tree/main/MIGRATING_FROM_V3_TO_V4.md. I have set up all according to the doc but somehow when import the 'import { i18n } from "./config/i18n";' in the application.js or any application just import the "i18n-js" module will not work on the web , even in the code editor it detect the library
How to reproduce
What do you expect
[Describe what do you expect to happen]
What happened instead
[Describe the actual results]
Software:
Full backtrace