Commit df10ce6
fix: deep imports from day-js need .js extension (#165)
* fix: deep imports from day-js need .js extension
dayjs/plugin/relativeTime is a deep file path import into the dayjs package. The dayjs package doesn't have an exports map entry for every plugin, so webpack has to resolve it as an actual file path. In strict ESM mode, that requires the .js extension.
* Update deep import message for day-js in devtools
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>1 parent e5c2b53 commit df10ce6
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments