Skip to content

feat: add an option for preserving file extensions of .ts and .tsx files - #602

Merged
antfu merged 4 commits into
unplugin:mainfrom
bsdayo:feat/preserve-ext
Nov 27, 2025
Merged

feat: add an option for preserving file extensions of .ts and .tsx files#602
antfu merged 4 commits into
unplugin:mainfrom
bsdayo:feat/preserve-ext

Conversation

@bsdayo

@bsdayo bsdayo commented Oct 7, 2025

Copy link
Copy Markdown
Contributor

Description

Added an option to preserve file extensions in generated auto-imports.d.ts.

The default value is false. Existing behavior without enabling explicitly will not be affected.

Close #601

Linked Issues

#601

Additional context

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@pkg-pr-new

pkg-pr-new Bot commented Nov 27, 2025

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/unplugin-auto-import@602

commit: 32ed06f

@antfu
antfu merged commit e0e3a3c into unplugin:main Nov 27, 2025
8 checks passed
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.

Add an option to preserve file extensions in generated auto-imports.d.ts

2 participants