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.12.1 to 0.12.2

8

dist/index.d.ts

@@ -128,2 +128,10 @@ import { Plugin } from 'vite';

importLess?: boolean;
/**
* resolve `ant-design-vue' icons
*
* requires package `@ant-design/icons-vue`
*
* @default false
*/
resolveIcons?: boolean;
}

@@ -130,0 +138,0 @@ declare const AntDesignVueResolver: (options?: AntDesignVueResolverOptions) => ComponentResolver;

@@ -971,2 +971,6 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var __create = Object.create;

styleDir: "timeline"
},
{
pattern: /^Upload/,
styleDir: "upload"
}

@@ -1001,2 +1005,8 @@ ];

var AntDesignVueResolver = (options = {}) => (name) => {
if (options.resolveIcons && name.match(/(Outlined|Filled|TwoTone)$/)) {
return {
importName: name,
path: "@ant-design/icons-vue"
};
}
if (name.match(/^A[A-Z]/)) {

@@ -1003,0 +1013,0 @@ const importName = name.slice(1);

2

package.json
{
"name": "vite-plugin-components",
"version": "0.12.1",
"version": "0.12.2",
"description": "Components auto importing for Vite",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/antfu/vite-plugin-components",

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