Skip to content

Commit

Permalink
fix: use explicit module imports for dayjs
Browse files Browse the repository at this point in the history
This should help bundlers (e.g., Webpack) resolve dependencies due to ambiguous paths.
  • Loading branch information
jcfranco committed Dec 11, 2024
1 parent c06b031 commit abd541c
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import dayjs from "dayjs/esm";
import customParseFormat from "dayjs/esm/plugin/customParseFormat";
import localeData from "dayjs/esm/plugin/localeData";
import localizedFormat from "dayjs/esm/plugin/localizedFormat";
import preParsePostFormat from "dayjs/esm/plugin/preParsePostFormat";
import updateLocale from "dayjs/esm/plugin/updateLocale";
import dayjs from "dayjs/esm/index.js";
import customParseFormat from "dayjs/esm/plugin/customParseFormat/index.js";
import localeData from "dayjs/esm/plugin/localeData/index.js";
import localizedFormat from "dayjs/esm/plugin/localizedFormat/index.js";
import preParsePostFormat from "dayjs/esm/plugin/preParsePostFormat/index.js";
import updateLocale from "dayjs/esm/plugin/updateLocale/index.js";
import { PropertyValues } from "lit";
import {
LitElement,
Expand Down

0 comments on commit abd541c

Please sign in to comment.