vite-plugin-lazy-import
Advanced tools
Comparing version 0.8.0 to 0.9.0
@@ -22,7 +22,9 @@ (function (global, factory) { | ||
var opts = Object.assign({ | ||
esm: true | ||
esm: true, | ||
importStyle: true | ||
}, options); | ||
return { | ||
lib: opts.lib, | ||
importStyle: true, | ||
esm: opts.esm, | ||
importStyle: opts.importStyle, | ||
resolve: function resolve(_ref) { | ||
@@ -29,0 +31,0 @@ var dirName = _ref.dirName; |
{ | ||
"name": "vite-plugin-lazy-import", | ||
"version": "0.8.0", | ||
"version": "0.9.0", | ||
"description": "Used for vite Lazy import js and style", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -11,3 +11,3 @@ import { Plugin, FilterPattern } from 'vite'; | ||
esm?: boolean; | ||
importStyle?: boolean | 'css' | 'scss'; | ||
importStyle?: boolean | 'css' | 'less' | 'scss'; | ||
resolve?: (params: { | ||
@@ -14,0 +14,0 @@ dirName: string; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26465
583