unplugin-icons
Advanced tools
Comparing version 0.13.2 to 0.13.3
{ | ||
"name": "unplugin-icons", | ||
"version": "0.13.2", | ||
"version": "0.13.3", | ||
"description": "Access thousands of icons as components on-demand universally", | ||
@@ -20,2 +20,6 @@ "homepage": "https://github.com/antfu/unplugin-icons", | ||
"./*": "./*", | ||
"./esbuild": { | ||
"require": "./dist/esbuild.js", | ||
"import": "./dist/esbuild.mjs" | ||
}, | ||
"./loaders": { | ||
@@ -99,22 +103,22 @@ "require": "./dist/loaders.js", | ||
"local-pkg": "^0.4.1", | ||
"unplugin": "^0.3.2" | ||
"unplugin": "^0.3.3" | ||
}, | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^0.16.1", | ||
"@iconify/json": "^2.1.2", | ||
"@iconify/json": "^2.1.12", | ||
"@iconify/types": "^1.0.12", | ||
"@svgr/core": "^6.2.1", | ||
"@types/debug": "^4.1.7", | ||
"@types/node": "^17.0.18", | ||
"@typescript-eslint/eslint-plugin": "^5.12.0", | ||
"@types/node": "^17.0.21", | ||
"@typescript-eslint/eslint-plugin": "^5.13.0", | ||
"@vue/compiler-sfc": "^3.2.31", | ||
"bumpp": "^7.1.1", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^8.9.0", | ||
"eslint": "^8.10.0", | ||
"esno": "^0.14.1", | ||
"rollup": "^2.67.3", | ||
"rollup": "^2.70.0", | ||
"tsup": "^5.11.13", | ||
"typescript": "^4.5.5", | ||
"vite": "^2.8.4", | ||
"vitest": "^0.4.0" | ||
"typescript": "^4.6.2", | ||
"vite": "^2.8.6", | ||
"vitest": "^0.5.9" | ||
}, | ||
@@ -121,0 +125,0 @@ "peerDependencies": { |
@@ -291,2 +291,22 @@ # unplugin-icons | ||
<details> | ||
<summary>esbuild</summary><br> | ||
```ts | ||
// esbuild.config.js | ||
import { build } from 'esbuild' | ||
build({ | ||
/* ... */ | ||
plugins: [ | ||
require('unplugin-icons/esbuild')({ | ||
/* options */ | ||
}), | ||
], | ||
}) | ||
``` | ||
<br></details> | ||
###### Frameworks | ||
@@ -293,0 +313,0 @@ |
@@ -6,3 +6,4 @@ declare module 'virtual:icons/*' { | ||
declare module '~icons/*' { | ||
export { SvelteComponentDev as default } from 'svelte/internal' | ||
import { SvelteComponentTyped } from 'svelte' | ||
export default class extends SvelteComponentTyped<svelte.JSX.IntrinsicElements['svg']> {} | ||
} |
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
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
76046
53
1480
860
0
Updatedunplugin@^0.3.3