Skip to content
This repository was archived by the owner on Jun 16, 2024. It is now read-only.

Commit beac94d

Browse files
committed
docs: enhance README example
1 parent 545d178 commit beac94d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,13 @@ This version is only compatible with rollup 2.x+
3737
In your project's [plugins file](https://on.cypress.io/guides/tooling/plugins-guide.html):
3838

3939
```javascript
40+
/// <reference types="cypress" />
41+
4042
const rollupPreprocessor = require("cypress-rollup-preprocessor");
43+
44+
/**
45+
* @type {Cypress.PluginConfig}
46+
*/
4147
module.exports = (on) => {
4248
on("file:preprocessor", rollupPreprocessor());
4349
};

0 commit comments

Comments
 (0)