import { defineConfig } from 'cypress' import createBundler from '@bahmutov/cypress-esbuild-preprocessor' export default defineConfig({ e2e: { baseUrl: 'http://localhost:5173', specPattern: 'cypress/e2e/**/*.cy.ts', supportFile: 'cypress/support/e2e.ts', fixturesFolder: false, video: false, screenshotOnRunFailure: false, setupNodeEvents(onEvent) { onEvent('file:preprocessor', createBundler()) }, }, })