unplugin-dts

<h1 align="center">unplugin-dts</h1>

MIT 12 个版本
安装
npm install unplugin-dts
yarn add unplugin-dts
pnpm add unplugin-dts
bun add unplugin-dts
README

unplugin-dts

An unplugin that generates declaration files (*.d.ts) from .ts(x) or .vue source files when using library mode.

version license

Installation

pnpm i -D unplugin-dts

Quick Start

import dts from 'unplugin-dts/vite'

export default defineConfig({
  plugins: [dts()],
})

Supports Vite, Rollup, Rolldown, Webpack, Rspack and Esbuild.

Documentation

Example

A real project using this plugin: Vexip UI.

License

MIT License.

版本列表
1.0.3 2026-06-24
1.0.2 2026-06-01
1.0.1 2026-05-19
1.0.0-beta.6 2025-07-31
1.0.0-beta.5 2025-07-30
1.0.0-beta.4 2025-07-13
1.0.0-beta.3 2025-07-07
1.0.0-beta.2 2025-06-18
1.0.0-beta.1 2025-06-16
1.0.0-beta.0 2025-05-18
1.0.0 2026-04-30
0.0.0 2023-06-11