mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-22 23:20:24 -05:00
b326693879
* removing vite-dev-server local dependency from react-vite-ts-configured system test * moving some CRA examples over to use the object api for setup * fixing issue where function API was broken by object API for cy config + devservers * adding deeply nested react import to project-fixtures for cra * finishes cutting over cypress/react for sys tests * chore: adding circle for this feature branch * chore: moving over many vue + vite system tests to use object API instead of function API (#21080) * doing webpack-dev-server cutovers * removing more webpack-dev-server refrences * fixing snapshots * bumping yarn.lock * wip * fix test * fix assertion Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com> * feat: removing all references for "fresh" dev servers (webpack-dev-server-fresh and vite-dev-server-fresh) (#21094) Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com> Co-authored-by: Zachary Williams <ZachJW34@gmail.com> * chore: add dev-servers as deps to server to be included in the binary (#21091) * fix bad merge * fix next types and webpack-dev-server- resolve Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com> Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
22 lines
582 B
TypeScript
22 lines
582 B
TypeScript
import { defineConfig } from 'cypress'
|
|
import * as webpackConfig from './cypress/plugins/webpack.config'
|
|
|
|
export default defineConfig({
|
|
'experimentalFetchPolyfill': true,
|
|
'fixturesFolder': false,
|
|
'includeShadowDom': true,
|
|
'fileServerFolder': 'src',
|
|
'projectId': 'nf7zag',
|
|
'component': {
|
|
setupNodeEvents (on, config) {
|
|
return require('./cypress/plugins')(on, config)
|
|
},
|
|
// @ts-ignore TODO: need to add the ability to define framework not
|
|
// in list w/o types failing...
|
|
devServer: {
|
|
bundler: 'webpack',
|
|
webpackConfig,
|
|
},
|
|
},
|
|
})
|