react-icons-sprite 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13,7 +13,8 @@ const OMITTED_SVG_ATTRIBUTES = /* @__PURE__ */ new Set([
|
|
|
13
13
|
"xmlns",
|
|
14
14
|
"viewBox",
|
|
15
15
|
"width",
|
|
16
|
-
"height"
|
|
16
|
+
"height",
|
|
17
|
+
"id"
|
|
17
18
|
]);
|
|
18
19
|
const parsePackageSpecifier = (specifier) => {
|
|
19
20
|
if (specifier.startsWith(".") || path.isAbsolute(specifier)) return null;
|
package/dist/vite/plugin.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { REACT_ICONS_SPRITE_URL_PLACEHOLDER } from "../index.mjs";
|
|
2
2
|
import { i as createSpriteAssetName, r as createIconSources, s as createCollector } from "../compute-icon-id-1Gop_fRM.mjs";
|
|
3
|
-
import { t as buildSprite } from "../build-sprite-
|
|
3
|
+
import { t as buildSprite } from "../build-sprite-erUJk5tA.mjs";
|
|
4
4
|
import { t as transformModule } from "../transform-module-BakS0Tzh.mjs";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
//#region src/vite/plugin.ts
|
package/dist/webpack/plugin.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { REACT_ICONS_SPRITE_URL_PLACEHOLDER } from "../index.mjs";
|
|
2
2
|
import { i as createSpriteAssetName } from "../compute-icon-id-1Gop_fRM.mjs";
|
|
3
|
-
import { t as buildSprite } from "../build-sprite-
|
|
3
|
+
import { t as buildSprite } from "../build-sprite-erUJk5tA.mjs";
|
|
4
4
|
import { t as collector } from "../collector-dvzR3TG1.mjs";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
//#region src/webpack/plugin.ts
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://www.schemastore.org/package.json",
|
|
3
3
|
"name": "react-icons-sprite",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "A lightweight Vite, Rsbuild and Webpack plugin for popular icon libraries that builds a single SVG sprite and rewrites icons to <use>, reducing bundle size and runtime overhead.",
|
|
7
7
|
"author": "Jure Rotar <hello@jurerotar.com>",
|