Skip to content

Support prettier.config.ts by enabling --experimental-strip-types#984

Merged
fsouza merged 1 commit intomainfrom
support-ts-config
Feb 7, 2026
Merged

Support prettier.config.ts by enabling --experimental-strip-types#984
fsouza merged 1 commit intomainfrom
support-ts-config

Conversation

@fsouza
Copy link
Copy Markdown
Owner

@fsouza fsouza commented Feb 7, 2026

Set NODE_OPTIONS=--experimental-strip-types before core_d spawns the daemon process, so Node.js can load TypeScript config files via import(). Only applied on Node >= 22.6.0 where the flag is supported.

Fixes #983

Set NODE_OPTIONS=--experimental-strip-types before core_d spawns the
daemon process, so Node.js can load TypeScript config files via
import(). Only applied on Node >= 22.6.0 where the flag is supported.

Fixes #983

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@fsouza fsouza merged commit b8781f3 into main Feb 7, 2026
9 checks passed
@fsouza fsouza deleted the support-ts-config branch February 7, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for 'prettier.config.ts'

1 participant