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 4 hours 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 (almost 2 years ago)
- Default Branch: development
- Last Pushed: 2022-12-24T17:10:58.000Z (almost 2 years ago)
- Last Synced: 2024-11-12T21:42:30.840Z (3 days 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
[![NPM](https://badgen.net/npm/v/vite-plugin-preact)](https://www.npmjs.com/package/vite-plugin-preact) ![TypeScript](https://badgen.net/npm/types/vite-plugin-preact) [![Test](https://github.com/aminnairi/vite-plugin-preact/actions/workflows/test.yaml/badge.svg?branch=development)](https://github.com/aminnairi/vite-plugin-preact/actions/workflows/test.yaml) ![Snyk](https://badgen.net/snyk/aminnairi/vite-plugin-preact)
## 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).