Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,15 @@ The shadow-cljs server is kept running while the Cypress runner is active. When
EOF
```

This will delegate files other than `*.cljs` to the [default Browserify preprocessor](https://docs.cypress.io/api/plugins/preprocessors-api.html#Defaults). If you need to run other preprocessors, then combine them with for example:
ClojureScript preprocessor will only process `*.cljs` files; other files will be untouched. Other files can be delegated to the [default Browserify preprocessor](https://docs.cypress.io/api/plugins/preprocessors-api.html#Defaults) or other preprocessors. For example:

1. Install `@cypress/browserify-preprocessor` to use the [default Browserify preprocessor](https://docs.cypress.io/api/plugins/preprocessors-api.html#Defaults)

```sh
npm install @cypress/browserify-preprocessor --save-dev
```

2. Configure preprocessors in `cypress/plugins/index.js`

```js
module.exports = (on, config) => {
Expand Down
Loading