UNPKG

unplugin-quansync

Version:

Write async functions, get both async and sync functions

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