vite icon indicating copy to clipboard operation
vite copied to clipboard

NPM package called @types/chrome doesn't work with vite latest version

Open Sami0x5 opened this issue 1 month ago • 2 comments

Describe the bug

I'm trying to use a package called @types/chrome with vite but it does not work in anyway. Then I tried with percel and it does work. Even with older version it does work, just the problem with the latest version. Hope you are gonna fix this issue.

Reproduction

npm create vite@latest

Steps to reproduce

No response

System Info

Cannot find name 'chrome'.

Used Package Manager

npm

Logs

No response

Validations

Sami0x5 avatar Nov 30 '25 08:11 Sami0x5

Hello @Sami0x5. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with needs reproduction will be closed if they have no activity within 3 days.

github-actions[bot] avatar Nov 30 '25 10:11 github-actions[bot]

/assign

Aditya-Prakash14 avatar Dec 01 '25 05:12 Aditya-Prakash14