Skip to content

Commit

Permalink
fix(day): include day.js as dependencies to avoid plugin resolution p…
Browse files Browse the repository at this point in the history
…roblem
  • Loading branch information
kiaking committed Nov 14, 2022
1 parent 57216f2 commit 224233b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/support/Day.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import dayjs, { ConfigType, Dayjs } from 'dayjs'
import RelativeTime from 'dayjs/plugin/relativeTime.js'
import RelativeTime from 'dayjs/plugin/relativeTime'

export type Day = Dayjs
export type Input = ConfigType
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"@vuelidate/validators": "^2.0.0",
"@vueuse/core": "^9.3.0",
"body-scroll-lock": "^4.0.0-beta.0",
"dayjs": "^1.11.5",
"fuse.js": "^6.6.2",
"lodash-es": "^4.17.21",
"markdown-it": "^13.0.1",
Expand All @@ -59,6 +58,9 @@
"vue": "^3.2.40",
"vue-router": "^4.1.5"
},
"dependencies": {
"dayjs": "^1.11.5"
},
"devDependencies": {
"@globalbrain/eslint-config": "^1.0.0",
"@histoire/plugin-vue": "^0.10.7",
Expand Down
6 changes: 4 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 224233b

Please sign in to comment.