← All tasks
javascripti18next/i18next #477Not a task: not reproduced

webpack pre-built javascript warning

envgap__i18next__i18next-477

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
9426926f6be16e1b9ece5fda56fcb83fc098ad53
Manifest
package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

i18next/i18next #477 · read the original issue
When I use webpack to bundle, it complaint something like this.

```
WARNING in ./~/i18next/bin/index.js
Critical dependencies:
1:409-416 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
 @ ./~/i18next/bin/index.js 1:409-416
```

To clear this warning, I need to change the `package.json`  file.

```
"main": "./lib/index.js",
```

or `import 'i18next' from 'i18next/lib/index.js`.
I`m not sure this warning need to optimize.
Thanks for your time.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]