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

Commit b8410ee

Browse files
committed
fix reference to default options
1 parent 55831b0 commit b8410ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ If, for example, you want to update the options for the `babelify` transform to
115115
const browserify = require('@cypress/browserify-preprocessor')
116116

117117
module.exports = (register, config) => {
118-
const options = browserify.options
118+
const options = browserify.defaultOptions
119119
options.transforms[1].options.babelrc = true
120120

121121
register('on:spec:file:preprocessor', browserify(config, options))

0 commit comments

Comments
 (0)