You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, in Vite I can't seem to import the module. Getting the following:
[vite] Avoid deep import "dayjs/plugin/relativeTime" (imported by /@modules/@factor/api/time.ts)
because "dayjs" has been pre-optimized by vite into a single file.
Prefer importing directly from the module entry:
import { ... } from "dayjs"
I need some clarification as to how this should be handled.
The text was updated successfully, but these errors were encountered:
This is a similar issue to the one in #1041 ... In my case, I'm trying to include:
dayjs/plugin/relativeTime
As described here on the page for RelativeTime by DayJS they want you to include a deeply nested plugin from their dep .
However, in Vite I can't seem to import the module. Getting the following:
I need some clarification as to how this should be handled.
The text was updated successfully, but these errors were encountered: