Skip to content

Commit

Permalink
fix: do not export plugins type, prevent vite eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
motea927 committed Jun 19, 2023
1 parent 55b5c98 commit 8a923bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ const generateHtml =
return sanitizeResult
}

export const $safeHtml = generateHtml(getBindingValue)
const $safeHtml = generateHtml(getBindingValue)

export const $i18nHtml = generateHtml((binding) => {
const $i18nHtml = generateHtml((binding) => {
if (!useI18n) {
console.warn(`[mt-v-safe-html]: can not find vue-i18n`)
return ''
Expand Down

0 comments on commit 8a923bb

Please sign in to comment.