Auto import APIs on-demand for Vite, Webpack and Rollup

rollup-plugin unplugin vite-plugin webpack-plugin
1 Open Issue Need Help Last updated: Sep 13, 2025

Open Issues Need Help

View All on GitHub

AI Summary: An auto-import feature incorrectly imports `it` from Vitest when a function parameter in a local library is named `it`. This leads to a runtime error because Vitest's `it` is imported outside of a test environment, indicating the auto-import mechanism is too aggressive or lacks proper scope awareness.

Complexity: 3/5
bug good first issue pr welcome

Auto import APIs on-demand for Vite, Webpack and Rollup

TypeScript
#rollup-plugin#unplugin#vite-plugin#webpack-plugin