Skip to content

Commit

Permalink
refactor: fix prod version
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Oct 1, 2023
1 parent 3863505 commit 2708227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors/errors.data.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineLoader } from 'vitepress'
import { errorMessages } from '@vue/compiler-core'
// @ts-expect-error internal api
import { ErrorTypeStrings } from '@vue/runtime-core'
import { ErrorTypeStrings } from '@vue/runtime-core/dist/runtime-core.cjs.js'

function filterEmptyMsg(data: Record<number, string>) {
return Object.fromEntries(Object.entries(data).filter(([_, msg]) => msg))
Expand Down

0 comments on commit 2708227

Please sign in to comment.