Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aminnairi/vite-plugin-preact
Preact preset for Vite
https://github.com/aminnairi/vite-plugin-preact
plugin preact preset vite
Last synced: about 1 month ago
JSON representation
Preact preset for Vite
- Host: GitHub
- URL: https://github.com/aminnairi/vite-plugin-preact
- Owner: aminnairi
- License: gpl-3.0
- Created: 2022-12-23T20:40:24.000Z (about 2 years ago)
- Default Branch: development
- Last Pushed: 2022-12-24T17:10:58.000Z (about 2 years ago)
- Last Synced: 2024-12-16T05:28:45.776Z (2 months ago)
- Topics: plugin, preact, preset, vite
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/vite-plugin-preact
- Size: 39.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# vite-plugin-preact
Preact preset for Vite
[](https://www.npmjs.com/package/vite-plugin-preact)  [](https://github.com/aminnairi/vite-plugin-preact/actions/workflows/test.yaml) 
## Requirements
- [Node](https://nodejs.org/)
- [NPM](https://www.npmjs.com/)## Installation
```bash
npm install --save-dev vite-plugin-preact
```## Usage
```typescript
import { defineConfig } from "vite"
import { preact } from "vite-plugin-preact"export default defineConfig({
plugins: [
preact()
]
})
```## Changelog
See [`CHANGELOG.md`](./CHANGELOG.md).
## License
See [`LICENSE`](./LICENSE).
## Issue
See [`issues`](../../issues).
## Contributing
See [`CONTRIBUTING.md`](./CONTRIBUTING.md).
## Code of conduct
See [`CODE_OF_CONDUCT.md`](./CODE_OF_CONDUCT.md).
## Security
See [`SECURITY.md`](./SECURITY.md).