Reproduction of an issue where importing cjs from and esm file fails.

Setup

npm ci

Dev Mode

npm run dev

Production Mode

npm run build && npm start