@ubean/icon 0.1.4 → 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.
- package/dist/vite.js +5 -1
- 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,
|
|
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();
|