vite-plugin-ts

Compiles TS(X) files with the official TypeScript compiler, to avoid various differences and provide decorator and emitMetadata support.

Usage no npm install needed!

<script type="module">
  import vitePluginTs from 'https://cdn.skypack.dev/vite-plugin-ts';
</script>

README

vite-plugin-ts npm

Compiles TS(X) files with the official TypeScript compiler, to avoid various differences and provide decorator and emitMetadata support.

This plugin is modified from the official @vitejs/plugin-vue-jsx. For JSX options, see the original document

Note: This plugin conflicts with the original @vitejs/plugin-vue-jsx plugin, and provides everything the original plugin supports ( including jsx support ). DO NOT INSTALL THEM BOTH!

Author: Evan You, modified with Carter Li

I will keep tracking the changes of original plugin, if I can remember...