unplugin-quansync
Version:
Write async functions, get both async and sync functions
25 lines (21 loc) • 426 B
TypeScript
import { Quansync } from './index.js';
import 'unplugin';
import 'unplugin-utils';
/**
* This entry file is for esbuild plugin.
*
* @module
*/
/**
* Esbuild plugin
*
* @example
* ```ts
* import { build } from 'esbuild'
* import Quansync from 'unplugin-quansync/esbuild'
*
* build({ plugins: [Quansync()] })
```
*/
declare const esbuild: typeof Quansync.esbuild;
export { esbuild as "module.exports", esbuild as default };