@ubean/icon 0.1.3 → 0.1.5

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.
Files changed (2) hide show
  1. package/dist/vite.js +5 -1
  2. package/package.json +1 -1
package/dist/vite.js CHANGED
@@ -110,7 +110,11 @@ function findSvgFile(dir, iconName, normalizeFn) {
110
110
  return null;
111
111
  }
112
112
  function ubeanIconPlugin(userOptions = {}) {
113
- const options = defu(userOptions, defaultOptions);
113
+ const options = defu(userOptions, {
114
+ collections: {},
115
+ customCollections: {},
116
+ ...defaultOptions
117
+ });
114
118
  const scannedIcons = /* @__PURE__ */ new Set();
115
119
  const resolvedCollectionPaths = /* @__PURE__ */ new Map();
116
120
  const customCollectionsCache = /* @__PURE__ */ new Map();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ubean/icon",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Icon module for ubean with Iconify integration",
5
5
  "files": [
6
6
  "dist"