Skip to content

chore: Migrate from vite-plugin-dts to unplugin-dts#1336

Merged
SjurSutterudSagen merged 1 commit into
mainfrom
patch/change-vite-plugin-dts-to-unplugin-dts
Jun 19, 2026
Merged

chore: Migrate from vite-plugin-dts to unplugin-dts#1336
SjurSutterudSagen merged 1 commit into
mainfrom
patch/change-vite-plugin-dts-to-unplugin-dts

Conversation

@SjurSutterudSagen

@SjurSutterudSagen SjurSutterudSagen commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

This swaps the old package "vite-plugin-dts" for the new package "unplugin-dts". They added support for more than just Vite, which is why they changed the name. They recommend using the new package, instead of continuing using the old one, even though they still update it (it is now just a wrapper that reexports from the new one).

  • Added "unplugin-dts" to package.json for improved TypeScript support.
  • Updated vite.config.ts in pxweb2-api-client and pxweb2-ui to use "unplugin-dts" instead of "vite-plugin-dts".
  • Removed "vite-plugin-dts" from pxweb2-ui package.json as part of the migration.

- Added "unplugin-dts" to package.json for improved TypeScript support.
- Updated vite.config.ts in pxweb2-api-client and pxweb2-ui to use "unplugin-dts" instead of "vite-plugin-dts".
- Removed "vite-plugin-dts" from pxweb2-ui package.json as part of the migration.
@github-actions

Copy link
Copy Markdown

Branch Deployment to Cloudflare Pages

🚛 Preview URL: https://c3fce974.pxweb2.pages.dev
🚧 Branch preview URL: https://patch-change-vite-plugin-dts.pxweb2.pages.dev
🚚 Alternative Preview URL: https://9c7154c5.pxweb2.pages.dev
👷 Alternative Branch preview URL: https://alternative-patch-change-vit.pxweb2.pages.dev

@sonarqubecloud

Copy link
Copy Markdown

@PerIngeVaaje PerIngeVaaje left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

@SjurSutterudSagen SjurSutterudSagen merged commit 7d7d0f1 into main Jun 19, 2026
16 checks passed
@SjurSutterudSagen SjurSutterudSagen deleted the patch/change-vite-plugin-dts-to-unplugin-dts branch June 19, 2026 09:00
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.

2 participants