Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vite-plugin-components

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-components - npm Package Compare versions

Comparing version 0.11.2 to 0.11.3

2

dist/index.d.ts

@@ -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 @@ *

8

dist/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc