UNPKG

unplugin-quansync

Version:

Write async functions, get both async and sync functions

27 lines (23 loc) 421 B
import { Quansync } from './index.js'; import 'unplugin'; import 'unplugin-utils'; /** * This entry file is for Vite plugin. * * @module */ /** * Vite plugin * * @example * ```ts * // vite.config.ts * import Quansync from 'unplugin-quansync/vite' * * export default defineConfig({ * plugins: [Quansync()], * }) * ``` */ declare const vite: typeof Quansync.vite; export { vite as "module.exports", vite as default };