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.5.0 to 0.6.0

types/resolvers.d.ts

16

dist/index.js

@@ -19,2 +19,6 @@ (function (global, factory) {

});
var _exportNames = {
kebabCase: true,
lazyImport: true
};
exports.kebabCase = void 0;

@@ -25,2 +29,14 @@ exports.lazyImport = lazyImport;

var _xeUtils = _interopRequireDefault(require("xe-utils"));
var _resolvers = require("./resolvers");
Object.keys(_resolvers).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _resolvers[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function get() {
return _resolvers[key];
}
});
});
function _interopRequireDefault(e) {

@@ -27,0 +43,0 @@ return e && e.__esModule ? e : {

2

package.json
{
"name": "vite-plugin-lazy-import",
"version": "0.5.0",
"version": "0.6.0",
"description": "Used for vite Lazy import js and style",

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

@@ -91,3 +91,3 @@ # vite-plugin-lazy-import

from: {
jsPath: `vxe-pc-ui/es/${kebabCase(name)}/index.js`
jsPath: `vxe-pc-ui/es/${kebabCase(name)}/index.js`,
stylePath: `vxe-pc-ui/es/${kebabCase(name)}/style.css`

@@ -94,0 +94,0 @@ }

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