[READ-ONLY] Mirror of https://github.com/sxzz/tsdown-plugin-vue. Vue SFC support for tsdown
plugin tsdown vue

README.md

tsdown-plugin-vue #

Open on npmx npm downloads Unit Test

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