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

Commit fbc0d2c

Browse files
Merge pull request #9 from lgandecki/patch-1
Update readme babelrc example
2 parents f49e9dc + 9252699 commit fbc0d2c

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
@@ -145,7 +145,7 @@ const browserify = require('@cypress/browserify-preprocessor')
145145

146146
module.exports = (on) => {
147147
const options = browserify.defaultOptions
148-
options.transform[1][1].options.babelrc = true
148+
options.browserifyOptions.transform[1][1].babelrc = true
149149

150150
on('file:preprocessor', browserify(options))
151151
}

0 commit comments

Comments
 (0)