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.2.0 to 0.3.0

7

dist/index.js

@@ -19,3 +19,3 @@ (function (global, factory) {

});
exports.lazyJsAndStyle = lazyJsAndStyle;
exports.lazyImport = lazyImport;
var _esModuleLexer = require("es-module-lexer");

@@ -77,3 +77,3 @@ var _pluginutils = require("@rollup/pluginutils");

}
function lazyJsAndStyle(options) {
function lazyImport(options) {
var opts = Object.assign({

@@ -161,4 +161,3 @@ include: ['**/*.vue', '**/*.ts', '**/*.js', '**/*.tsx', '**/*.jsx']

var resOpts = Object.assign({
esm: true,
importStyle: 'css'
esm: true
}, resolver);

@@ -165,0 +164,0 @@ if (!resOpts.lib) {

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

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

@@ -25,2 +25,2 @@ import { Plugin, FilterPattern } from 'vite'

export function lazyJsAndStyle (options: LazyImportConfig): Plugin<any>
export function lazyImport (options: LazyImportConfig): Plugin<any>

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