Skip to content

Commit d1e4182

Browse files
committed
remove cypress webpack preprocessor
1 parent 0368bde commit d1e4182

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

cypress.config.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,9 @@
1-
const webpackPreprocessor = require('@cypress/webpack-preprocessor')
21
const {defineConfig} = require('cypress')
32

43
module.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
})

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@
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",

0 commit comments

Comments
 (0)