Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Generalsimus/vite-typescript-plugin
https://github.com/Generalsimus/vite-typescript-plugin
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/Generalsimus/vite-typescript-plugin
- Owner: Generalsimus
- Created: 2022-12-31T01:02:32.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-16T15:09:31.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T11:18:18.606Z (about 1 month ago)
- Language: TypeScript
- Size: 50.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Vite Typescript Plugin](https://www.npmjs.com/package/vite-typescript-plugin)
[![npm version][npm-version-src]][npm-version-href]
[![npm href][standard-js-src]][standard-js-href]### vite.config
```js
import { defineConfig } from 'vite'
import { createTsPlugin } from "vite-typescript-plugin"// https://vitejs.dev/config/
export default defineConfig({
plugins: [
createTsPlugin({
name, // plugin name
compilerOptions, // ts.CompilerOptions
tsConfigPath // tsConfig file name
test, // file test regexp
transforms, // ts.CustomTransformers
})
],
})
```## License
MIT
[standard-js-src]: https://img.shields.io/badge/license-MIT-brightgreen?&style=flat-square
[standard-js-href]: https://github.com/Generalsimus/KIX/blob/master/LICENSE[npm-version-src]: https://img.shields.io/npm/v/vite-typescript-plugin?&style=flat-square
[npm-version-href]: https://www.npmjs.com/package/vite-typescript-plugin