unplugin-icons
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -28,8 +28,8 @@ interface ComponentResolverOption { | ||
/** | ||
* Resolver for vite-plugin-components | ||
* Resolver for unplugin-vue-components and unplugin-auto-import | ||
* | ||
* @param options | ||
*/ | ||
declare function ViteComponentsResolver(options: ComponentResolverOption): (name: string) => string | undefined; | ||
declare function ComponentsResolver(options?: ComponentResolverOption): (name: string) => string | undefined; | ||
export { ComponentResolverOption, ViteComponentsResolver as default }; | ||
export { ComponentResolverOption, ComponentsResolver as default }; |
@@ -12,3 +12,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
} | ||
function ViteComponentsResolver(options) { | ||
function ComponentsResolver(options = {}) { | ||
var _a; | ||
@@ -43,3 +43,3 @@ const { | ||
module.exports = ViteComponentsResolver; | ||
module.exports = ComponentsResolver; | ||
exports.default = module.exports; |
{ | ||
"name": "unplugin-icons", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "Access thousands of icons as components on-demand universally", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/antfu/unplugin-icons", |
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
37494