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 (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-21T23:05:39.000Z (almost 3 years ago)
- Last Synced: 2025-03-29T01:34:21.600Z (4 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
[](https://github.com/gajus/canonical)
[](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())
}
```