unplugin-auto-import
unplugin-auto-import copied to clipboard
Auto import APIs on-demand for Vite, Webpack and Rollup
### Describe the bug First of all, I want to express my gratitude to the developers for their hard work on this project. Thank you! I'm currently using the @iconify/vue...
### Describe the bug This package doesn't work with Astro+MDX integration. I defined the proper component path and exports in the config. When I Use the auto imports in .astro...
Add support for path with brackets () ### Description ### Linked Issues https://github.com/antfu/unplugin-auto-import/issues/416 ### Additional context
### Describe the bug ` //a.js export function a() {} export function b() {} ... // AutoImport AutoImport({ imports: [ { 'a.js': [ 'a': 'A' ] } ] }) `...
### Clear and concise description of the problem depend on vite-react example. auto-imports extract imports in dev mode only `npm run dev` but not in build, also icons need to...
### Describe the bug Directory with special characters does not work correctly eg: project in path: E:\xxx\Code(Template)\ withing the spacial characters '()' . auto import failed and then project worked...
### Describe the bug I'm not sure how preset work, there is no real documentation on how to auto import everything from Pinia. I tried this, which looked logical from...
### Clear and concise description of the problem dts与auto-componts类似只增不减 ### Suggested solution 给一个属性,只合并不覆盖,能否让手动维护 ### Alternative _No response_ ### Additional context _No response_ ### Validations - [X] Follow our [Code of...
### Clear and concise description of the problem I have a library `a` which exports `useThing` function. To make types work as intended this function relies on a dts file...
### Describe the bug ```js // vite.config.js import AutoImport from "unplugin-auto-import/vite"; import { TDesignResolver } from "unplugin-vue-components/resolvers"; AutoImport({ resolvers: [TDesignResolver({ library: "vue-next", resolveIcons: true })], }), // other.js MessagePlugin() //...