i18n: Missing Export In Browser Index.js
Description
Missing export in browser/index.js
How to reproduce
import { I18n } from 'i18n-js';
What do you expect
Import the I18n.
What happened instead
It’s returning void.
Software:
- Gem version: 4.2.3
- Ruby version: 3.2.3
Full backtrace
18:54:16 js.1 | ▲ [WARNING] Import "I18n" will always be undefined because the file "../../node_modules/i18n-js/dist/browser/index.js" has no exports [import-is-undefined]
18:54:16 js.1 |
18:54:16 js.1 | modules/i18n.js:1:9:
18:54:16 js.1 | 1 │ import { I18n } from 'i18n-js';
About this issue
- Original URL
- State: closed
- Created 5 months ago
- Comments: 16 (9 by maintainers)
just released v4.4.3
I’m thinking about reverting the package.json change because it broke too many projects, unfortunately. 🫠
I’ll take a look at this tonight.
oh, this has been covered on the readme. Go to the troubleshooting section. 😃