Skip to content

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

Description

@SisyphusZheng

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/postcss@4.1.16 TS1192
import prefresh from plugin-vite/src/mod.ts:9 @prefresh/vite@2.4.11 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions