unplugin-icons
Advanced tools
Comparing version 0.9.0 to 0.10.0
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkSNJD5DK5js = require('./chunk-SNJD5DK5.js'); | ||
require('./chunk-XT65WW6E.js'); | ||
var _chunkIROVGBCHjs = require('./chunk-IROVGBCH.js'); | ||
require('./chunk-B43J6W2N.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
@@ -9,2 +9,2 @@ require('./chunk-GMAU6NZD.js'); | ||
exports.default = _chunkSNJD5DK5js.src_default; | ||
exports.default = _chunkIROVGBCHjs.src_default; |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkSNJD5DK5js = require('./chunk-SNJD5DK5.js'); | ||
require('./chunk-XT65WW6E.js'); | ||
var _chunkIROVGBCHjs = require('./chunk-IROVGBCH.js'); | ||
require('./chunk-B43J6W2N.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
@@ -12,7 +12,7 @@ require('./chunk-GMAU6NZD.js'); | ||
config.plugins = config.plugins || []; | ||
config.plugins.unshift(_chunkSNJD5DK5js.src_default.webpack(options)); | ||
config.plugins.unshift(_chunkIROVGBCHjs.src_default.webpack(options)); | ||
}); | ||
this.nuxt.hook("vite:extend", async (vite) => { | ||
vite.config.plugins = vite.config.plugins || []; | ||
vite.config.plugins.push(_chunkSNJD5DK5js.src_default.vite(options)); | ||
vite.config.plugins.push(_chunkIROVGBCHjs.src_default.vite(options)); | ||
}); | ||
@@ -19,0 +19,0 @@ } |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
var _chunkXT65WW6Ejs = require('./chunk-XT65WW6E.js'); | ||
var _chunkB43J6W2Njs = require('./chunk-B43J6W2N.js'); | ||
require('./chunk-GMAU6NZD.js'); | ||
@@ -35,3 +35,3 @@ | ||
return; | ||
if (!_chunkXT65WW6Ejs.getIcon.call(void 0, collection, icon)) | ||
if (!_chunkB43J6W2Njs.getIcon.call(void 0, collection, icon)) | ||
return; | ||
@@ -38,0 +38,0 @@ return `~icons/${collection}/${icon}${ext}`; |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkSNJD5DK5js = require('./chunk-SNJD5DK5.js'); | ||
require('./chunk-XT65WW6E.js'); | ||
var _chunkIROVGBCHjs = require('./chunk-IROVGBCH.js'); | ||
require('./chunk-B43J6W2N.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
@@ -9,3 +9,3 @@ require('./chunk-GMAU6NZD.js'); | ||
// src/rollup.ts | ||
var rollup_default = _chunkSNJD5DK5js.src_default.rollup; | ||
var rollup_default = _chunkIROVGBCHjs.src_default.rollup; | ||
@@ -12,0 +12,0 @@ |
@@ -28,3 +28,3 @@ interface Options { | ||
*/ | ||
compiler?: 'vue2' | 'vue3' | 'jsx' | 'solid' | 'web-components' | 'none' | 'raw'; | ||
compiler?: 'vue2' | 'vue3' | 'jsx' | 'solid' | 'svelte' | 'web-components' | 'none' | 'raw'; | ||
/** | ||
@@ -31,0 +31,0 @@ * JSX style, works only when compiler set to `jsx` |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkSNJD5DK5js = require('./chunk-SNJD5DK5.js'); | ||
require('./chunk-XT65WW6E.js'); | ||
var _chunkIROVGBCHjs = require('./chunk-IROVGBCH.js'); | ||
require('./chunk-B43J6W2N.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
@@ -9,3 +9,3 @@ require('./chunk-GMAU6NZD.js'); | ||
// src/vite.ts | ||
var vite_default = _chunkSNJD5DK5js.src_default.vite; | ||
var vite_default = _chunkIROVGBCHjs.src_default.vite; | ||
@@ -12,0 +12,0 @@ |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkSNJD5DK5js = require('./chunk-SNJD5DK5.js'); | ||
require('./chunk-XT65WW6E.js'); | ||
var _chunkIROVGBCHjs = require('./chunk-IROVGBCH.js'); | ||
require('./chunk-B43J6W2N.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
@@ -9,3 +9,3 @@ require('./chunk-GMAU6NZD.js'); | ||
// src/webpack.ts | ||
var webpack_default = _chunkSNJD5DK5js.src_default.webpack; | ||
var webpack_default = _chunkIROVGBCHjs.src_default.webpack; | ||
@@ -12,0 +12,0 @@ |
{ | ||
"name": "unplugin-icons", | ||
"version": "0.9.0", | ||
"version": "0.10.0", | ||
"description": "Access thousands of icons as components on-demand universally", | ||
@@ -68,6 +68,6 @@ "homepage": "https://github.com/antfu/unplugin-icons", | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^0.8.2", | ||
"@antfu/eslint-config": "^0.9.0", | ||
"@svgr/core": "^5.5.0", | ||
"@types/node": "^16.9.1", | ||
"@typescript-eslint/eslint-plugin": "^4.31.0", | ||
"@typescript-eslint/eslint-plugin": "^4.31.1", | ||
"@vue/compiler-sfc": "^3.2.11", | ||
@@ -80,3 +80,3 @@ "bumpp": "^7.1.1", | ||
"typescript": "^4.4.3", | ||
"vite": "^2.5.6" | ||
"vite": "^2.5.7" | ||
}, | ||
@@ -83,0 +83,0 @@ "peerDependencies": { |
@@ -12,3 +12,3 @@ # unplugin-icons | ||
- ๐ฆ **Major** build tools - Vite, Webpack, Rollup, Nuxt, etc. Powered by [unplugin](https://github.com/unjs/unplugin). | ||
- ๐ช **Major** frameworks - Vanilla, Web Components, React, Vue 3, Vue 2, Solid, and more. [Contribute](./src/core/compiles). | ||
- ๐ช **Major** frameworks - Vanilla, Web Components, React, Vue 3, Vue 2, Solid, Svelte, and more. [Contribute](./src/core/compiles). | ||
- ๐ฑ **Any** combinations of them! | ||
@@ -15,0 +15,0 @@ - โ๏ธ On-demand - Only bundle the icons you really uses, while having all the options. |
@@ -1,2 +0,1 @@ | ||
/* eslint-disable import/named */ | ||
declare module 'virtual:icons/*' { | ||
@@ -3,0 +2,0 @@ import { SVGProps, JSX } from 'preact' |
@@ -1,2 +0,1 @@ | ||
/* eslint-disable import/named */ | ||
declare module 'virtual:icons/*' { | ||
@@ -3,0 +2,0 @@ const component: string |
@@ -1,2 +0,1 @@ | ||
/* eslint-disable import/named */ | ||
declare module 'virtual:icons/*' { | ||
@@ -3,0 +2,0 @@ import { SVGProps, JSX } from 'react' |
@@ -1,2 +0,1 @@ | ||
/* eslint-disable import/named */ | ||
declare module 'virtual:icons/*' { | ||
@@ -3,0 +2,0 @@ import { JSX, ComponentProps } from 'solid-js' |
@@ -1,2 +0,1 @@ | ||
/* eslint-disable import/named */ | ||
declare module 'virtual:icons/*' { | ||
@@ -3,0 +2,0 @@ import { FunctionalComponent, SVGAttributes } from 'vue' |
@@ -1,2 +0,1 @@ | ||
/* eslint-disable import/named */ | ||
declare module 'virtual:icons/*' { | ||
@@ -3,0 +2,0 @@ const component: HTMLElement |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
43275
47
950