vueless 0.0.671 → 0.0.672
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/package.json +1 -1
- package/utils/node/loaderIcon.js +2 -1
package/package.json
CHANGED
package/utils/node/loaderIcon.js
CHANGED
|
@@ -178,7 +178,8 @@ async function findAndCopyIcons(files) {
|
|
|
178
178
|
|
|
179
179
|
/* Vueless components props */
|
|
180
180
|
const iconPropsPattern = `\\b\\w*(name|icon)\\w*\\s*=\\s*(['"])(.*?)\\2`;
|
|
181
|
-
const uComponentIconNamePattern =
|
|
181
|
+
const uComponentIconNamePattern =
|
|
182
|
+
/<U\w+\b[^>]*?\b\w*(name|icon)\w*\s*[:=]\s*(['"])(.*?)\2[^>]*?>/;
|
|
182
183
|
const uComponentIconNameArray = fileContents.match(new RegExp(uComponentIconNamePattern, "g"));
|
|
183
184
|
|
|
184
185
|
if (!uComponentIconNameArray) return;
|