UNPKG

@revoloo/cypress6

Version:

Cypress.io end to end testing tool

13 lines (9 loc) 363 B
const { startDevServer } = require('@cypress/webpack-dev-server') const findNextWebpackConfig = require('./findNextWebpackConfig') module.exports = (on, config) => { on('dev-server:start', async (options) => { return startDevServer({ options, webpackConfig: await findNextWebpackConfig(config) }) }) config.env.reactDevtools = true return config }