frequi_origin/cypress/plugins/index.js
2021-12-17 19:45:02 +01:00

14 lines
319 B
JavaScript

// cypress/plugins/index.js
const { startDevServer } = require('@cypress/webpack-dev-server');
const webpackConfig = require('@vue/cli-service/webpack.config');
module.exports = (on, config) => {
on('dev-server:start', (options) => {
return startDevServer({
options,
webpackConfig,
});
});
};