Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gajus/cypress-vite-preprocessor
Cypress preprocessor for bundling JavaScript via Vite.
https://github.com/gajus/cypress-vite-preprocessor
cypress vite
Last synced: about 1 month ago
JSON representation
Cypress preprocessor for bundling JavaScript via Vite.
- Host: GitHub
- URL: https://github.com/gajus/cypress-vite-preprocessor
- Owner: gajus
- License: other
- Created: 2022-07-20T17:52:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-21T23:05:39.000Z (about 2 years ago)
- Last Synced: 2024-10-05T13:48:05.176Z (about 2 months ago)
- Topics: cypress, vite
- Language: TypeScript
- Homepage:
- Size: 199 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cypress Vite Preprocessor
[![Canonical Code Style](https://img.shields.io/badge/code%20style-canonical-blue.svg?style=flat-square)](https://github.com/gajus/canonical)
[![Twitter Follow](https://img.shields.io/twitter/follow/kuizinas.svg?style=social&label=Follow)](https://twitter.com/kuizinas)Cypress preprocessor for bundling JavaScript via [Vite](https://vitejs.dev/).
## Usage
In your project's plugins file:
```ts
const {createVitePreprocessor} = require('cypress-vite-preprocessor')module.exports = (on) => {
on('file:preprocessor', createVitePreprocessor())
}
```