#3866·fresh

v2.x CI broken: TS1192 on @prefresh/vite and @tailwindcss/postcss since Deno v2.8.3 (TS 6.0)

Author: SisyphusZhengCreated Jun 12, 2026Updated Jun 12, 2026

Symptom

Since June 11, 2026, all v2.x CI jobs fail at deno check --allow-import:

Found 2 errors.
error: Type checking failed.

Every open PR on v2.x shows the same failure.

Root Cause

Deno v2.8.3 bumped TypeScript from 5.9.2 to 6.0.3. TS 6.0 changed export = in ESM context from warning to error.

Two dependencies have self-contradictory metadata: .d.ts uses export = (CJS), package.json declares exports.import (ESM):

Import File Package Error
import twPostcss from plugin-tailwindcss/src/mod.ts:2 @tailwindcss/[email protected] TS1192
import prefresh from plugin-vite/src/mod.ts:9 @prefresh/[email protected] TS1192

Status

Dependency Fix Release
@tailwindcss/postcss tailwindcss#20219 to tailwindcss#20228 merged v4.3.1 (June 12)
@prefresh/vite prefresh#625 to prefresh#626 merged awaiting v2.x release

Temporary workaround

PR #3857 adds @ts-ignore TS1192 on both imports. Once upstream releases land, this can be reverted.

Blocked PRs

~15 open PRs failing v2.x CI solely due to this pre-existing issue. None of the per-PR changes are the cause. All should become green after #3857 merges or upstream fixes land.