vite-plugin-components
Advanced tools
Comparing version 0.11.2 to 0.11.3
@@ -112,2 +112,4 @@ import { Plugin } from 'vite'; | ||
* | ||
* Requires ant-design-vue@v2.2.0-beta.6 or later | ||
* | ||
* See https://github.com/antfu/vite-plugin-components/issues/26#issuecomment-789767941 for more details | ||
@@ -114,0 +116,0 @@ * |
@@ -834,3 +834,7 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var __create = Object.create; | ||
if (name.match(/^A[A-Z]/)) | ||
return {importName: name.slice(1), path: "ant-design-vue/es"}; | ||
return { | ||
importName: name.slice(1), | ||
path: "ant-design-vue/es", | ||
sideEffects: "ant-design-vue/es/style" | ||
}; | ||
}; | ||
@@ -942,3 +946,3 @@ | ||
importName: partialName, | ||
path: "@varlet/ui/es", | ||
path: "@varlet/ui", | ||
sideEffects: importLess ? `@varlet/ui/es/${kebabCase(partialName)}/style/less.js` : importCss ? `@varlet/ui/es/${kebabCase(partialName)}/style` : void 0 | ||
@@ -945,0 +949,0 @@ }; |
{ | ||
"name": "vite-plugin-components", | ||
"version": "0.11.2", | ||
"version": "0.11.3", | ||
"description": "Components auto importing for Vite", | ||
@@ -26,3 +26,3 @@ "homepage": "https://github.com/antfu/vite-plugin-components", | ||
"prepublishOnly": "npm run build", | ||
"release": "npx git-ensure -a && npx bumpp --commit --tag --push", | ||
"release": "npx bumpp --commit --tag --push", | ||
"test": "jest", | ||
@@ -29,0 +29,0 @@ "test:update": "jest --u" |
@@ -107,2 +107,4 @@ <h2 align='center'><samp>vite-plugin-components</samp></h2> | ||
**Make sure you also add `components.d.ts` to your `tsconfig.json` under `includes`.** | ||
## Vue 2 Support | ||
@@ -134,3 +136,3 @@ | ||
- [Headless UI](https://github.com/antfu/vite-plugin-components/blob/master/src/resolvers/headless-ui.ts) | ||
- [Native UI](https://github.com/antfu/vite-plugin-components/blob/master/src/resolvers/naive-ui.ts) | ||
- [Naive UI](https://github.com/antfu/vite-plugin-components/blob/master/src/resolvers/naive-ui.ts) | ||
- [Vant](https://github.com/antfu/vite-plugin-components/blob/master/src/resolvers/vant.ts) | ||
@@ -137,0 +139,0 @@ - [Varlet UI](https://github.com/antfu/vite-plugin-components/blob/master/src/resolvers/varlet-ui.ts) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78613
2123
225