Minimal esbuild dev server for Cypress component tests. Current stable version 1.5.0 adds Cypress 14 support while maintaining backward compatibility to Cypress 12 and 13. Tests are packaged as ESM bundles via a tiny express server. Written in TypeScript with full type definitions. Requires esbuild ^0.17.0 as a peer dependency. Unlike other Cypress dev servers (webpack, vite), this provides a lightweight, minimal config option for esbuild users.
npm install cypress-devserver-esbuildNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal Cypress config using esbuild dev server with custom output directory and single bundle mode.
Do not specify entryPoints in esbuild config; use specPattern in Cypress config to control test file matching.
Add { hasCssFiles: true } to the second parameter of createEsbuildDevServer.Set splitting: false in esbuild config, or use singleBundle: true in dev server options.
Use require('cypress-devserver-esbuild') or import { createEsbuildDevServer } from 'cypress-devserver-esbuild'.Upgrade Node.js to version 16 or higher.
Run 'npm install -D cypress-devserver-esbuild' and use correct import.
Use 'import { createEsbuildDevServer } from 'cypress-devserver-esbuild'' or const { createEsbuildDevServer } = require('cypress-devserver-esbuild').Upgrade Cypress to 12.x or higher.
Run 'npm install -D esbuild@^0.17.0'.