A Cypress preprocessor that uses esbuild to bundle test specs, offering roughly 50x faster performance compared to Webpack/Babel/TypeScript-based alternatives. Current stable version is 1.0.2, with a low release cadence focused on bug fixes and compatibility. Key differentiators: zero-config TypeScript support via tsconfig, path alias resolution, and minimal overhead. Requires esbuild as a peer dependency. Suited for teams looking to speed up Cypress test execution in CI or local development.
npm install cypress-esbuild-preprocessorVerified import paths — ran on the pinned version, not inferred.
Shows how to configure the preprocessor in Cypress plugins file with TypeScript and tsconfig path resolution.
Use named import: import { cypressEsbuildPreprocessor } from 'cypress-esbuild-preprocessor'Pass options as { esbuildOptions: { tsconfig: './tsconfig.json' } }Move configuration to cypress/plugins/index file.
Run npm install -D esbuild cypress-esbuild-preprocessor
Change to import { cypressEsbuildPreprocessor } from 'cypress-esbuild-preprocessor'