New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vite-plugin-importer

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-importer - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

package.json
{
"name": "vite-plugin-importer",
"version": "0.2.0",
"version": "0.2.1",
"main": "src/index.js",

@@ -5,0 +5,0 @@ "description": "Integration for babel-plugin-import",

@@ -26,2 +26,7 @@ # vite-plugin-importer

}),
usePluginImport({
libraryName: "antd",
libraryDirectory: "es",
style: "css",
}),
];

@@ -28,0 +33,0 @@ })

@@ -12,3 +12,3 @@ const babelImport = require('babel-plugin-import');

if (/\.[j|t][sx|s]|vue$/.test(id)) {
if (/\.(?:[jt]sx?|vue)$/.test(id)) {
const plugins = [importMeta, [babelImport, options]]

@@ -15,0 +15,0 @@

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