Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.

Commit af0dded

Browse files
committed
remove misleading options example
1 parent 10e851b commit af0dded

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ Pass in options as the second argument to `browserify`:
2929
```javascript
3030
module.exports = (on, config) => {
3131
const options = {
32-
extensions: [],
33-
watchOptions: {},
34-
transforms: [],
35-
onBundle () {},
32+
// options here
3633
}
3734

3835
on('file:preprocessor', browserify(config, options))

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const preprocessor = (config, userOptions = {}) => {
6767
//
6868
// this function will get called for the support file when a project is loaded
6969
// (if the support file is not disabled)
70-
// it will also get calledfor a spec file when that spec is requested by
70+
// it will also get called for a spec file when that spec is requested by
7171
// the Cypress runner
7272
//
7373
// when running in the GUI, it will likely get called multiple times

0 commit comments

Comments
 (0)