import MagicString from 'magic-string' import { createUnplugin } from 'unplugin' import { stripLiteral } from 'strip-literal' import { isJS, isVue } from '../../../nuxt/src/core/utils/plugins' interface PureAnnotationsOptions { sourcemap: boolean functions: string[] } export const pureAnnotationsPlugin = createUnplugin((options: PureAnnotationsOptions) => { const FUNCTION_RE = new RegExp(`(?