File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- const webpackPreprocessor = require ( '@cypress/webpack-preprocessor' )
21const { defineConfig} = require ( 'cypress' )
32
43module . exports = defineConfig ( {
54 e2e : {
65 baseUrl : 'http://localhost:6006' ,
76 video : false ,
87 testIsolation : false ,
9- setupNodeEvents ( on ) {
10- on (
11- 'file:preprocessor' ,
12- webpackPreprocessor ( {
13- webpackOptions : {
14- ...webpackPreprocessor . defaultOptions . webpackOptions ,
15- target : 'web' ,
16- } ,
17- } ) ,
18- )
19- } ,
208 } ,
219} )
Original file line number Diff line number Diff line change 9191 "@babel/helpers" : " ^7.28.6" ,
9292 "@babel/plugin-proposal-private-methods" : " ^7.18.6" ,
9393 "@babel/plugin-proposal-private-property-in-object" : " ^7.21.11" ,
94- "@cypress/webpack-preprocessor" : " ^7.0.2" ,
9594 "@docusaurus/core" : " 3.3.2" ,
9695 "@docusaurus/module-type-aliases" : " 3.3.2" ,
9796 "@docusaurus/preset-classic" : " 3.3.2" ,
You can’t perform that action at this time.
0 commit comments