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

vite-plugin-lazy-import

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-lazy-import - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0

18

dist/resolvers/index.js

@@ -20,17 +20,13 @@ (function (global, factory) {

exports.VxeResolver = VxeResolver;
var _xeUtils = _interopRequireDefault(require("xe-utils"));
function _interopRequireDefault(e) {
return e && e.__esModule ? e : {
"default": e
};
}
function VxeResolver(options) {
var opts = Object.assign({
esm: true
}, options);
return {
lib: options.lib,
lib: opts.lib,
importStyle: true,
resolve: function resolve(_ref) {
var name = _ref.name;
var libPath = "".concat(options.lib, "/").concat(options.esm ? 'es' : 'lib');
var dirName = _xeUtils["default"].kebabCase(name);
if (options.importStyle) {
var dirName = _ref.dirName;
var libPath = "".concat(opts.lib, "/").concat(opts.esm ? 'es' : 'lib');
if (opts.importStyle) {
return {

@@ -37,0 +33,0 @@ from: {

{
"name": "vite-plugin-lazy-import",
"version": "0.7.0",
"version": "0.8.0",
"description": "Used for vite Lazy import js and style",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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