Skip to content

Commit

Permalink
Merge pull request #22 from motea927/dev
Browse files Browse the repository at this point in the history
fix: do not export plugins type, prevent vite eslint error
  • Loading branch information
motea927 authored Jun 19, 2023
2 parents b78bfbb + 8a923bb commit 0f72085
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 0f72085

Please sign in to comment.