Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/sxzz/tsdown-plugin-vue. Vue SFC support for tsdown
plugin tsdown vue
Something went wrong. Try again.
Files
Latest
- TypeScript 97%
- JavaScript 3%
README.md
tsdown-plugin-vue #
Vue SFC support for tsdown
Install #
npm i tsdown-plugin-vue
Usage #
Add the plugin to your tsdown.config.ts:
import { defineConfig } from 'tsdown'
import { Vue } from 'tsdown-plugin-vue'
export default defineConfig({
entry: ['src/index.ts'],
plugins: [Vue()],
})
Options #
Vue() passes options to unplugin-vue and sets isProduction: true by default, regardless of NODE_ENV. To compile in development mode, override it explicitly:
Vue({ isProduction: false })
Sponsors #
License #
MIT License © 2026-PRESENT Kevin Deng