File tree 1 file changed +12
-6
lines changed
packages/@vue/cli-plugin-e2e-cypress/generator/template/tests/e2e/plugins
1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 1
1
// https://docs.cypress.io/guides/guides/plugins-guide.html
2
- /* eslint-disable import/no-extraneous-dependencies, global-require */
3
- const webpack = require ( '@cypress/webpack-preprocessor' )
2
+
3
+ // if you need a custom webpack configuration you can uncomment the following import
4
+ // and then use the `file:preprocessor` event
5
+ // as explained in the cypress docs
6
+ // https://docs.cypress.io/api/plugins/preprocessors-api.html#Examples
7
+
8
+ // /* eslint-disable import/no-extraneous-dependencies, global-require */
9
+ // const webpack = require('@cypress/webpack-preprocessor')
4
10
5
11
module . exports = ( on , config ) => {
6
- on ( 'file:preprocessor' , webpack ( {
7
- webpackOptions : require ( '@vue/cli-service/webpack.config' ) ,
8
- watchOptions : { }
9
- } ) )
12
+ // on('file:preprocessor', webpack({
13
+ // webpackOptions: require('@vue/cli-service/webpack.config'),
14
+ // watchOptions: {}
15
+ // }))
10
16
11
17
return Object . assign ( { } , config , {
12
18
fixturesFolder : 'tests/e2e/fixtures' ,
You can’t perform that action at this time.
0 commit comments